Add sops-nix
This commit is contained in:
parent
b2079ab04d
commit
2a8f0b0564
2 changed files with 7 additions and 2 deletions
|
|
@ -8,9 +8,13 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.11";
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixos-generators, simple-nixos-mailserver, ... }@inputs:
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixos-generators, simple-nixos-mailserver, sops-nix, ... }@inputs:
|
||||
let
|
||||
hosts = import ./hosts.nix inputs;
|
||||
helper = import ./helper.nix inputs;
|
||||
|
|
|
|||
|
|
@ -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