Files
nixy/hosts/server/secrets/default.nix
Hadi 29ff0aa3dd add modules
Former-commit-id: d199f35824
2025-03-19 13:55:03 +01:00

20 lines
460 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/jack";
mode = "0600";
};
cloudflare-dns-token = { path = "/etc/cloudflare/dnskey.txt"; };
};
};
}