fixed: even more broken secret path

This commit is contained in:
Harry 2024-08-12 16:13:25 +02:00
parent 4383be0757
commit 8650fff2ca
2 changed files with 6 additions and 6 deletions

View file

@ -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" ];

View file

@ -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;