change secrets

This commit is contained in:
Hadi
2025-03-19 09:51:46 +01:00
parent 151a4ee7a0
commit 9bf66b26cf
5 changed files with 41 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
{ inputs, ... }: {
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml;
secrets = {
"example" = {
owner = "hadi";
path = "/home/hadi/test";
};
};
};
}