summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-04-04 00:08:47 -0600
committerAlejandro Soto <alejandro@34project.org>2026-04-04 00:08:47 -0600
commit03a1f84f0a09e1f764e1f0ce1883a867ff04f6a2 (patch)
tree56f2c8e5cd3e03064560a87cdc7d073b3938cac5
parente737df717b3dbf05062f7370245c3d3aafdc2358 (diff)
sys/boot: tpm: add tpm2-tools to systemPackages
-rw-r--r--sys/boot/tpm.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/boot/tpm.nix b/sys/boot/tpm.nix
index da6f73a..457d0e1 100644
--- a/sys/boot/tpm.nix
+++ b/sys/boot/tpm.nix
@@ -114,9 +114,13 @@ in {
];
};
- environment.systemPackages = optionals cfg.initrd.enable [
- tpm2-grant-next-boot
- ];
+ environment.systemPackages =
+ [
+ pkgs.tpm2-tools
+ ]
+ ++ optionals cfg.initrd.enable [
+ tpm2-grant-next-boot
+ ];
security.tpm2 = {
enable = true;