From 279e97d215e000ac17846f9176f11efa85626627 Mon Sep 17 00:00:00 2001 From: chase Date: Mon, 9 Jun 2025 12:41:32 -0400 Subject: [PATCH] Add TPM2 support --- nixos/base.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/base.nix b/nixos/base.nix index 8d42a66..54096ff 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -81,7 +81,7 @@ users.users.chase = { isNormalUser = true; description = "Chase"; - extraGroups = ["networkmanager" "wheel"]; + extraGroups = ["networkmanager" "tss" "wheel"]; }; # Install git and enable cache @@ -198,4 +198,10 @@ }; }; }; + + security.tpm2 = { + enable = true; + pkcs11.enable = true; + tctiEnvironment.enable = true; + }; }