diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-15T14·42+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-15T14·42+0200 |
commit | 28feb4bc92c6ff7541dade32a4db55c1905e9d3f (patch) | |
tree | d6cbae8eb223a1ebcdbccaa905780535d4080711 | |
parent | 98fc907d900d2dfaa3fd465278bb7bc50f560fa4 (diff) |
fix(adho): Configure encrypted disks in local config
-rw-r--r-- | adho-configuration.nix | 1 | ||||
-rw-r--r-- | configuration.nix | 3 |
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; |