1
0
Fork 0
forked from fi/nix-infra

Migrate torrent to sops-nix

This commit is contained in:
Fiona Grzebien 2026-05-24 01:24:38 +02:00
commit f4265bbb5d
Signed by: fi
SSH key fingerprint: SHA256:HQgl5VGC4+Yw3ds/0I/DqTge63SPBXvXwhNG/gRW26U
3 changed files with 32 additions and 14 deletions

View file

@ -15,7 +15,7 @@
fsType = "cifs";
options = [
"username=torrent"
"credentials=/secrets/torrent-samba-credentials.secret"
"credentials=/run/secrets/torrent-samba-credentials"
"iocharset=utf8"
"vers=3.1.1"
"uid=torrent"
@ -25,5 +25,11 @@
};
};
sops.secrets."torrent-samba-credentials" = {
mode = "0440";
owner = "root";
group = "root";
};
system.stateVersion = "24.11";
}