From 5625f60877e94776118272842acdd2558e1fd7e2 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 24 Jul 2024 22:16:17 -0500 Subject: [PATCH] feat(host/orion): improve tpm2 support --- hosts/orion/os/boot.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/orion/os/boot.nix b/hosts/orion/os/boot.nix index 2b6c9695..9f3daf2e 100644 --- a/hosts/orion/os/boot.nix +++ b/hosts/orion/os/boot.nix @@ -3,6 +3,9 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + security.tpm2.enable = true; + environment.systemPackages = with pkgs; [ tpm2-tss ]; + boot = { loader = { systemd-boot.enable = true; @@ -23,6 +26,7 @@ ]; systemd = { enable = true; + enableTpm2 = true; initrdBin = [ pkgs.libuuid pkgs.gawk