change secrets

Former-commit-id: 9bf66b26cf
This commit is contained in:
Hadi
2025-03-19 09:51:46 +01:00
parent b20bf2fbce
commit 7c1f56d6a3
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";
};
};
};
}