mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
change secrets
This commit is contained in:
15
hosts/server/secrets/default.nix
Normal file
15
hosts/server/secrets/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user