mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
fixed: even more broken secret path
This commit is contained in:
parent
4383be0757
commit
8650fff2ca
|
@ -13,15 +13,15 @@ in
|
|||
};
|
||||
config = {
|
||||
|
||||
sops.secrets."slskd" = {
|
||||
sopsFile = ../secrets/slskd.env;
|
||||
sops.secrets.slskd = {
|
||||
sopsFile = ../../secrets/slskd.env;
|
||||
format = "dotenv";
|
||||
};
|
||||
|
||||
services.slskd = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
environmentFile = config.sops.secrets."slskd".path;
|
||||
environmentFile = config.sops.secrets.slskd.path;
|
||||
domain = null;
|
||||
settings = {
|
||||
shares.directories = [ "${cfg.directory}/clean" ];
|
||||
|
|
|
@ -15,8 +15,8 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
sops.secrets."transmission" = {
|
||||
sopsFile = ../secrets/transmission.json;
|
||||
sops.secrets.transmission = {
|
||||
sopsFile = ../../secrets/transmission.json;
|
||||
path = "/var/lib/secrets/transmission/settings.json";
|
||||
};
|
||||
|
||||
|
@ -25,7 +25,7 @@ in
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
openRPCPort = true;
|
||||
credentialsFile = config.sops.secrets."transmission".path;
|
||||
credentialsFile = config.sops.secrets.transmission.path;
|
||||
settings = {
|
||||
rpc-bind-address = "0.0.0.0";
|
||||
rpc-whitelist-enabled = false;
|
||||
|
|
Loading…
Reference in a new issue