From 821cb09e6c6a584de6de238a5a4a8929c9ecf1a7 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 4 Jul 2023 20:10:34 +0900 Subject: [PATCH] test --- flake.nix | 4 ++++ services/promtail.nix | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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