about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-02-16 03:08:47 +0100
committerProfpatsch <mail@profpatsch.de>2020-02-16 03:08:47 +0100
commitbcaeea178c09c6153f1dbd971bdead77ffe81bdc (patch)
treef068c76be082ed7a27a81213ad681f3623df56f2 /machines
parent2429a7f19af330f9f27d86747777b6713ce3b51a (diff)
machines/profpatsch: fix luks.device warning
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/shiki.nix5
1 files changed, 1 insertions, 4 deletions
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