aboutsummaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-25 07:29:21 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-25 08:47:10 -0700
commit598f9b7b2bd3ace4561a3d6ff4b5d14b1e6eced4 (patch)
tree0da1dbb3359d43003780d15f9f23ae5278235a7d /secrets/secrets.nix
parentenable cloudflared on the vm (diff)
downloadinfra-598f9b7b2bd3ace4561a3d6ff4b5d14b1e6eced4.tar.gz
add a module for mounting CIFS volumes
The new module is for NAS clients, where we specify the server and the paths to mount locally. We add a new secret to have the username of the `nas' user. We mount the backups volume from the NAS under `/data/backups` on the VM.
Diffstat (limited to '')
-rw-r--r--secrets/secrets.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index 3de69b7..b437995 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -30,4 +30,8 @@ in
users.fcuny
hosts.vm-synology
];
+ "nas_client.age".publicKeys = [
+ users.fcuny
+ hosts.vm-synology
+ ];
}