diff options
-rw-r--r-- | os/cez/hardware-configuration.nix | 5 | ||||
-rw-r--r-- | os/common/configuration.nix | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/os/cez/hardware-configuration.nix b/os/cez/hardware-configuration.nix index 90a73b9..a0efab6 100644 --- a/os/cez/hardware-configuration.nix +++ b/os/cez/hardware-configuration.nix @@ -21,11 +21,8 @@ blacklistedKernelModules = [ "k10temp" ]; extraModulePackages = with config.boot.kernelPackages; [ zenpower ]; - initrd = { - systemd.enable = true; - luks.devices."crypt".device = + initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/84acd784-caad-41a1-a2e4-39468d01fefd"; - }; }; fileSystems = { diff --git a/os/common/configuration.nix b/os/common/configuration.nix index 8026b9f..57d40c4 100644 --- a/os/common/configuration.nix +++ b/os/common/configuration.nix @@ -37,6 +37,7 @@ in { boot = { tmp.useTmpfs = true; loader.timeout = 1; + initrd.systemd.enable = true; }; programs.bash.promptInit = '' |