diff --git a/hosts/capibara.nix b/hosts/capibara.nix index 8a12f83..c761cc0 100644 --- a/hosts/capibara.nix +++ b/hosts/capibara.nix @@ -77,6 +77,18 @@ in neededForBoot = true; }; + "/mnt/secrets" = { + device = "narwhal:/secrets"; + fsType = "nfs"; + options = [ "noauto" ]; + }; + + "/mnt/secrets/gnupg" = { + device = "/dev/mapper/gnupg_secrets"; + fsType = "btrfs"; + options = [ "noauto" ]; + }; + "/nix" = { device = "/dev/mapper/root"; fsType = "btrfs"; @@ -129,6 +141,7 @@ in 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 backups2 UUID="cbfa9cba-dee2-4d0b-8cde-2f1d1849b22c" /etc/luks-keys/backups.bin noauto + gnupg_secrets /mnt/secrets/gnupg.img none noauto ''; }; };