forked from fi/nix-infra
Migrate torrent to sops-nix
This commit is contained in:
parent
6282e3fed9
commit
f4265bbb5d
3 changed files with 32 additions and 14 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue