Add sops-nix

This commit is contained in:
Fiona Grzebien 2026-05-16 22:49:13 +02:00
commit 2a8f0b0564
Signed by: fi
SSH key fingerprint: SHA256:HQgl5VGC4+Yw3ds/0I/DqTge63SPBXvXwhNG/gRW26U
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, ... }:
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, sops-nix, ... }:
let
# Set of environment specific modules
environments = {
@ -22,6 +22,7 @@ let
modules = [
./config/common
./config/hosts/${name}
sops-nix.nixosModules.sops
] ++ (if environment != "" then environments.${environment} else []);
}) hosts;
in