From 28feb4bc92c6ff7541dade32a4db55c1905e9d3f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Oct 2017 16:42:31 +0200 Subject: fix(adho): Configure encrypted disks in local config --- adho-configuration.nix | 1 + configuration.nix | 3 --- 2 files changed, 1 insertion(+), 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; -- cgit 1.4.1