summary refs log tree commit diff stats
path: root/hosts
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-02 09:00:35 +0200
committersils <sils@sils.li>2023-07-02 09:00:35 +0200
commit2c913e1c4b9ca18b2adfbfaf24ee5f5746f0ffe4 (patch)
treea138778d86b0dab6abd50b8b9011c1c851438934 /hosts
parentFeat(sys/services): Add logind configuration (diff)
downloadnix-config-2c913e1c4b9ca18b2adfbfaf24ee5f5746f0ffe4.tar.gz
nix-config-2c913e1c4b9ca18b2adfbfaf24ee5f5746f0ffe4.zip
Feat(hosts/thinklappi): Enable systemd in intrd
This is necessary to make tpm decryption of root possible
Diffstat (limited to 'hosts')
-rw-r--r--hosts/thinklappi/basesystem.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/thinklappi/basesystem.nix b/hosts/thinklappi/basesystem.nix
index cbcffc0..05b9093 100644
--- a/hosts/thinklappi/basesystem.nix
+++ b/hosts/thinklappi/basesystem.nix
@@ -11,6 +11,7 @@
 
   boot = {
     initrd = {
+      systemd.enable = true;
       availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"];
       kernelModules = [];
       luks.devices."cryptroot".device = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab";