Allow build on machines that are missing secrets

binfmt
Simon Bruder 2021-03-21 11:31:15 +01:00
parent 320f438d02
commit 58c72c3200
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 2 additions and 2 deletions

View File

@ -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";
};
};
};

View File

@ -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")
];
};
};