Commit df238096b686

Vincent Demeester <vincent@sbr.pm>
2025-04-16 23:59:07
systems/kyushu: fix disks definition (luks)
Ask password at the right place. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 13b2a75
Changed files (1)
systems
systems/kyushu/disks.nix
@@ -51,10 +51,10 @@
                 # LUKS passphrase will be prompted interactively only
                 type = "luks";
                 name = "cryptroot";
+                askPassword = true;
                 settings = {
                   # Make sure there is no trailing newline in keyfile if used for interactive unlock.
                   # Use `echo -n "password" > /tmp/data.keyfile`
-                  askPassword = true;
                   keyFile = "/dev/disk/by-id/usb-_USB_DISK_2.0_070D375D84327E87-0:0";
                   keyFileOffset = 30992883712;
                   keyFileSize = 4096;