about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/aszlig/dnyarri.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix
index be7ecaba..3d9ae86a 100644
--- a/machines/aszlig/dnyarri.nix
+++ b/machines/aszlig/dnyarri.nix
@@ -3,7 +3,7 @@
 let
   mkDevice = category: num: uuid: {
     name = "dnyarri-${category}-crypt-${toString num}";
-    device = "/dev/disk/by-uuid/${uuid}";
+    value.device = "/dev/disk/by-uuid/${uuid}";
   };
 
   cryptDevices = {
@@ -51,7 +51,8 @@ in {
 
     initrd = {
       availableKernelModules = [ "bcache" ];
-      luks.devices = lib.concatLists (lib.attrValues cryptDevices);
+      luks.devices =
+        lib.listToAttrs (lib.concatLists (lib.attrValues cryptDevices));
     };
   };