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

View file

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