diff --git a/flake.nix b/flake.nix index 5d4a5c04..036eda2d 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,10 @@ config = { allowUnfree = true; }; }; + sops-nix = import sops-nix { + inherit system; + }; + lib = stable-nixpkgs.lib; in { # NixOS Configuration files: diff --git a/services/promtail.nix b/services/promtail.nix index 6b5c8ffa..83d60ad1 100644 --- a/services/promtail.nix +++ b/services/promtail.nix @@ -1,8 +1,7 @@ -{ config, pkgs, ... }: { +{ config, pkgs, sops, ... }: { # Promtail Logging # Import the file: - imports = [ ]; sops.defaultSopsFile = ./secrets/secrets.yaml; # Define the secrets