dustbowl: add tpm2 support

This commit is contained in:
joachimschmidt557 2023-03-27 13:24:00 +02:00
parent 5de4a82757
commit 5a6f7ec0fd
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -171,6 +171,7 @@
jless jless
restic restic
pdfgrep pdfgrep
tmux
# GTK theme # GTK theme
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
@ -236,6 +237,12 @@
source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top"; source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
}; };
# TPM2 setup
security.tpm2 = {
enable = true;
pkcs11.enable = true;
};
# Enable gnupg # Enable gnupg
programs.gnupg.agent.enable = true; programs.gnupg.agent.enable = true;
@ -399,7 +406,7 @@
isNormalUser = true; isNormalUser = true;
home = "/home/joachim"; home = "/home/joachim";
shell = pkgs.fish; shell = pkgs.fish;
extraGroups = [ "wheel" "scanner" "libvirtd" "adbusers" "wireshark" "vboxusers" ]; extraGroups = [ "wheel" "scanner" "libvirtd" "wireshark" "vboxusers" "tss" ];
}; };
# Yubikey PAM # Yubikey PAM