Commit bfeb2327e8bb
Changed files (1)
systems
kyushu
systems/kyushu/disks.nix
@@ -6,11 +6,12 @@
}:
{
- boot.initrd.luks.devices."root" = {
+ boot.initrd.luks.devices."cryptroot" = {
# FIXME setup this
# TODO: Remove this "device" attr if/when machine is reinstalled.
# This is a workaround for the legacy -> gpt tables disko format.
# device = lib.mkForce "/dev/disk/by-uuid/c0cac87c-53ec-4262-9ab2-a3ee8331c75a";
+ # device = "/dev/disk/by-partlabel/cryptroot";
preLVM = true;
allowDiscards = true;
keyFile = "/dev/disk/by-id/usb-_USB_DISK_2.0_070D375D84327E87-0:0";
@@ -49,7 +50,7 @@
content = {
# LUKS passphrase will be prompted interactively only
type = "luks";
- name = "crypted";
+ name = "cryptroot";
settings = {
# Make sure there is no trailing newline in keyfile if used for interactive unlock.
# Use `echo -n "password" > /tmp/data.keyfile`