This commit is contained in:
2026-04-23 18:38:55 -05:00
parent ac32833239
commit dea26059eb
10 changed files with 117 additions and 132 deletions

21
modules/features/sops.nix Normal file
View File

@@ -0,0 +1,21 @@
{ inputs, ... }: {
flake.nixosModules.sops = { config, lib, ... }: {
imports = [
inputs.sops-nix.nixosModules.sops
];
config = {
sops = {
age = {
keyFile = "/var/lib/sops/age/keys.txt";
generateKey = true;
};
defaultSopsFormat = "yaml";
};
};
};
}