feat: added mount points to secrets
parent
c02a648c34
commit
56eac5d1c4
|
@ -77,6 +77,18 @@ in
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"/mnt/secrets" = {
|
||||||
|
device = "narwhal:/secrets";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [ "noauto" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/mnt/secrets/gnupg" = {
|
||||||
|
device = "/dev/mapper/gnupg_secrets";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "noauto" ];
|
||||||
|
};
|
||||||
|
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
device = "/dev/mapper/root";
|
device = "/dev/mapper/root";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
@ -129,6 +141,7 @@ in
|
||||||
backups0 UUID="e45232d5-f46f-46f3-a150-be26374b3357" /etc/luks-keys/backups.bin noauto
|
backups0 UUID="e45232d5-f46f-46f3-a150-be26374b3357" /etc/luks-keys/backups.bin noauto
|
||||||
backups1 UUID="5b3da928-4862-4451-89cd-5bd6a95466d0" /etc/luks-keys/backups.bin noauto
|
backups1 UUID="5b3da928-4862-4451-89cd-5bd6a95466d0" /etc/luks-keys/backups.bin noauto
|
||||||
backups2 UUID="cbfa9cba-dee2-4d0b-8cde-2f1d1849b22c" /etc/luks-keys/backups.bin noauto
|
backups2 UUID="cbfa9cba-dee2-4d0b-8cde-2f1d1849b22c" /etc/luks-keys/backups.bin noauto
|
||||||
|
gnupg_secrets /mnt/secrets/gnupg.img none noauto
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue