From 584e17361c96b77de5e2189ae2e7d03d358a8c7d Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:59 +1000 Subject: [PATCH] nix: enable systemd in initrd needed for drive decryption via TPM --- modules/linux/secureboot.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/linux/secureboot.nix b/modules/linux/secureboot.nix index bcf9780..943799a 100644 --- a/modules/linux/secureboot.nix +++ b/modules/linux/secureboot.nix @@ -11,4 +11,7 @@ enable = true; pkiBundle = "/var/lib/sbctl"; }; + + # needed for tpm unlock + boot.initrd.systemd.enable = true; }