14 lines
315 B
Nix
14 lines
315 B
Nix
|
{ keyCommandEnv, ... }:
|
||
|
{
|
||
|
deployment.keys = {
|
||
|
"torrent-samba-credentials.secret" = {
|
||
|
keyCommand = keyCommandEnv ++ [ "pass" "torrent/samba-credentials" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "root";
|
||
|
group = "root";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
};
|
||
|
}
|