diff --git a/features/multimedia/slskd.nix b/features/multimedia/slskd.nix index 50ab9d9..c1e4e87 100644 --- a/features/multimedia/slskd.nix +++ b/features/multimedia/slskd.nix @@ -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" ]; diff --git a/features/multimedia/transmission.nix b/features/multimedia/transmission.nix index 400c136..eff7aa2 100644 --- a/features/multimedia/transmission.nix +++ b/features/multimedia/transmission.nix @@ -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;