Add sops-nix module

This commit is contained in:
Vili Sinervä 2025-06-21 12:29:48 +03:00
parent 8da8c6cadb
commit 617bf3b0a6
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
2 changed files with 7 additions and 0 deletions

View file

@ -11,6 +11,10 @@
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -19,6 +23,7 @@
nixpkgs,
nixvim,
disko,
sops-nix,
...
}:
{
@ -43,6 +48,7 @@
modules = [
{ networking.hostName = host; }
disko.nixosModules.disko
sops-nix.nixosModules.sops
./hosts/${host}/configuration.nix
./hosts/${host}/state.nix
];

View file

@ -27,6 +27,7 @@
termshark
age
sops
minisign
pwgen
ssss