From 5a6f7ec0fde4a09460fd266893c6330dafc15552 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Mon, 27 Mar 2023 13:24:00 +0200 Subject: [PATCH] dustbowl: add tpm2 support --- nixos/dustbowl.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index 2e63614..d5f75aa 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -171,6 +171,7 @@ jless restic pdfgrep + tmux # GTK theme gnome.adwaita-icon-theme @@ -236,6 +237,12 @@ source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top"; }; + # TPM2 setup + security.tpm2 = { + enable = true; + pkcs11.enable = true; + }; + # Enable gnupg programs.gnupg.agent.enable = true; @@ -399,7 +406,7 @@ isNormalUser = true; home = "/home/joachim"; shell = pkgs.fish; - extraGroups = [ "wheel" "scanner" "libvirtd" "adbusers" "wireshark" "vboxusers" ]; + extraGroups = [ "wheel" "scanner" "libvirtd" "wireshark" "vboxusers" "tss" ]; }; # Yubikey PAM