diff --git a/nixos/common/services/promtail.nix b/nixos/common/services/promtail.nix index 9d7f94cb..5bffe62c 100644 --- a/nixos/common/services/promtail.nix +++ b/nixos/common/services/promtail.nix @@ -4,7 +4,7 @@ # Set up the secret for the password: sops.secrets.promtail-pass = { owner = "promtail"; - sopsFile = ../secrets/secrets.yaml; + sopsFile = ../../../secrets/secrets.yaml; restartUnits = [ "promtail.service" ]; }; diff --git a/nixos/common/services/telegraf.nix b/nixos/common/services/telegraf.nix index 95e5860b..ebfd0d80 100644 --- a/nixos/common/services/telegraf.nix +++ b/nixos/common/services/telegraf.nix @@ -4,7 +4,7 @@ # Set up the secrets file for the token: sops.secrets.telegraf-token = { owner = "telegraf"; - sopsFile = ../secrets/secrets.yaml; + sopsFile = ../../../secrets/secrets.yaml; restartUnits = [ "telegraf.service" ]; };