This commit is contained in:
iFargle 2023-07-04 20:10:34 +09:00
parent 02f8893dc4
commit 821cb09e6c
2 changed files with 5 additions and 2 deletions

View file

@ -40,6 +40,10 @@
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
sops-nix = import sops-nix {
inherit system;
};
lib = stable-nixpkgs.lib; lib = stable-nixpkgs.lib;
in { in {
# NixOS Configuration files: # NixOS Configuration files:

View file

@ -1,8 +1,7 @@
{ config, pkgs, ... }: { { config, pkgs, sops, ... }: {
# Promtail Logging # Promtail Logging
# Import the file: # Import the file:
imports = [ <sops-nix/modules/sops> ];
sops.defaultSopsFile = ./secrets/secrets.yaml; sops.defaultSopsFile = ./secrets/secrets.yaml;
# Define the secrets # Define the secrets