about summary refs log tree commit diff
path: root/machines/profpatsch/mikiya.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/mikiya.nix')
-rw-r--r--machines/profpatsch/mikiya.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/machines/profpatsch/mikiya.nix b/machines/profpatsch/mikiya.nix
index db3b6865..74acc76b 100644
--- a/machines/profpatsch/mikiya.nix
+++ b/machines/profpatsch/mikiya.nix
@@ -11,10 +11,7 @@ let
   };
 
   systemDevice = "/dev/disk/by-id/ata-MKNSSDCR60GB-DX_MKN1140A0000025162";
-  systemPartition = {
-    name = "mikiya-root";
-    device = "/dev/disk/by-uuid/56910867-ed83-438a-b67c-c057e662c89e";
-  };
+  systemPartition = "/dev/disk/by-uuid/56910867-ed83-438a-b67c-c057e662c89e";
   rootDevice = "/dev/mapper/mikiya-root";
 
   raidDevices = lib.imap (mkDevice "raid") [
@@ -51,7 +48,7 @@ in {
           ];
 
         # decrypt root device
-        luks.devices = [systemPartition];
+        luks.devices.mikiya-root.device = systemPartition;
       };
 
     };