diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-09 23:17:49 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-09 23:17:49 -0400 |
| commit | 5cebe15d8e2adc3fa227b582287740205862fdb0 (patch) | |
| tree | e8e04f43909f61326ef194bf645719859615a86f /system/tpm.nix | |
| parent | update commits (diff) | |
| download | dotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.tar.gz dotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.tar.bz2 dotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.zip | |
add .enable to modules, add nvidia module, add obs app
Diffstat (limited to '')
| -rw-r--r-- | system/tpm.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tpm.nix b/system/tpm.nix index c7507da..a227f36 100644 --- a/system/tpm.nix +++ b/system/tpm.nix @@ -4,8 +4,9 @@ ... }: let inherit (lib) mkIf; + cfg = config.tpm; in { - config = mkIf config.tpm { + config = mkIf cfg.enable { security.tpm2.enable = true; security.tpm2.pkcs11.enable = true; security.tpm2.tctiEnvironment.enable = true; |