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; };
};
sops-nix = import sops-nix {
inherit system;
};
lib = stable-nixpkgs.lib;
in {
# NixOS Configuration files:

View file

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