aboutsummaryrefslogtreecommitdiff
path: root/secrets
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
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 'secrets')
-rw-r--r--secrets/nas_client.age8
-rw-r--r--secrets/secrets.nix4
2 files changed, 12 insertions, 0 deletions
diff --git a/secrets/nas_client.age b/secrets/nas_client.age
new file mode 100644
index 0000000..5824c53
--- /dev/null
+++ b/secrets/nas_client.age
@@ -0,0 +1,8 @@
+age-encryption.org/v1
+-> ssh-ed25519 pFjJaA XZhA5nQ/XBzXSUbFHx/6vIzCgKmu1gBQ6ARi2EEeEzA
+dnXIxNGc+QQ9zG1qmeEvEDXK170X/9AcoZgWzgQoHEc
+-> ssh-ed25519 qRUWSw zvv2IRkop9SvceyNT7GcDb/V4eE8p8Lc+18Ji/XxwW8
+pZW6V9l7rO1HP+8TjFkAOpDVXBZhGI9YOlmEruE9MrI
+--- r6qFz8l3mklLVEAyLqdnzYoTGmAn18HfsBhsZmM2xh4
+²,îªÄMºÌ®Í3-Ía„L_±‚MÊv ƒ”‚Ró' •;ÓOI&kR!0=¿ÏßJ6Ѻ-÷•üÒðF”ló»Ùã¡
+; Hž \ No newline at end of file
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
+ ];
}