From bcaeea178c09c6153f1dbd971bdead77ffe81bdc Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 16 Feb 2020 03:08:47 +0100 Subject: machines/profpatsch: fix luks.device warning --- machines/profpatsch/shiki.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'machines') diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 87cf8cd7..02561f83 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -21,10 +21,7 @@ in { # VPN support boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ]; - boot.initrd.luks.devices = [ { - device = "/dev/disk/by-uuid/2e1c433f-4a54-4f04-9073-3639b66b975d"; - name = "cryptroot"; - } ]; + boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/2e1c433f-4a54-4f04-9073-3639b66b975d"; ########### # Hardware -- cgit 1.4.1