diff --git a/configuration.nix b/configuration.nix index db26ffee..28985cc7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -25,8 +25,6 @@ ./services/fail2ban.nix ]; - # Define the default sops file: - sops.defaultSopsFile = ./secrets/secrets.yaml; # Keep the system up-to-date automatically system = { diff --git a/services/promtail.nix b/services/promtail.nix index e01ad387..a523efd8 100644 --- a/services/promtail.nix +++ b/services/promtail.nix @@ -3,7 +3,7 @@ sops.secrets.promtail-pass = { owner = "promtail"; - sopsFile = ../secrets/secrets.yaml; + sopsFile = ./secrets/secrets.yaml; }; # Restart the unit if the secret changes