Files
nixy/hosts/server/secrets/default.nix
Hadi 7db62269d4 ui
2025-03-19 14:00:09 +01:00

20 lines
464 B
Nix

{ inputs, ... }: {
sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml;
secrets = {
sshconfig = {
owner = "hadi";
path = "/home/hadi/.ssh/config";
mode = "0600";
};
github-key = {
owner = "hadi";
path = "/home/hadi/.ssh/github";
mode = "0600";
};
# cloudflare-dns-token = { path = "/etc/cloudflare/dnskey.txt"; };
};
};
}