modules: services: transmission: secrets w/ file
In preparation for the migration to using agenix.
This commit is contained in:
parent
98034a5410
commit
da63787874
2 changed files with 14 additions and 15 deletions
|
|
@ -126,8 +126,12 @@ in
|
|||
# Torrent client and webui
|
||||
transmission = {
|
||||
enable = true;
|
||||
username = "Ambroisie";
|
||||
password = my.secrets.transmission.password;
|
||||
credentialsFile = builtins.toFile "transmission-creds.txt" ''
|
||||
{
|
||||
"rpc-username": "Ambroisie",
|
||||
"rpc-password": "${my.secrets.transmission.password}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
# Simple, in-kernel VPN
|
||||
wireguard = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue