Allow build on machines that are missing secrets
This commit is contained in:
parent
320f438d02
commit
58c72c3200
|
@ -43,7 +43,7 @@
|
|||
label = "data";
|
||||
enable = true;
|
||||
blkDev = "/dev/disk/by-uuid/576088d4-9aae-4159-a028-feadb2621a1a";
|
||||
keyFile = "/mnt-root" + toString <secrets/luks-data>;
|
||||
keyFile = "/mnt-root" + toString <secrets> + "/luks-data";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# ssh-keygen -t ed25519 -N "" -f initrd-ssh-host-key -C HOSTNAME
|
||||
# pass insert -m nixos/machines/HOSTNAME/initrd-ssh-host-key < initrd-ssh-host-key
|
||||
hostKeys = [
|
||||
(toString <secrets/initrd-ssh-host-key>)
|
||||
(toString <secrets> + "/initrd-ssh-host-key")
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue