about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--adho-configuration.nix1
-rw-r--r--configuration.nix3
2 files changed, 1 insertions, 3 deletions
diff --git a/adho-configuration.nix b/adho-configuration.nix
index e5a1d801b4a1..0f8e17bb0015 100644
--- a/adho-configuration.nix
+++ b/adho-configuration.nix
@@ -2,6 +2,7 @@
 { config, ...}:
 
 {
+  boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
   networking.hostName = "adho";
   networking.connman.enable = true;
   services.xserver.libinput.enable = true;
diff --git a/configuration.nix b/configuration.nix
index df677ed941db..19404be34d9a 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -13,9 +13,6 @@ in {
     ./local-configuration.nix
     ];
 
-  # Ensure encrypted devices are decrypted
-  boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
-
   # Use the systemd-boot EFI boot loader.
   boot.loader.systemd-boot.enable = true;
   boot.loader.efi.canTouchEfiVariables = true;