Add sops-nix
This commit is contained in:
parent
b2079ab04d
commit
2a8f0b0564
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue