nix/modules/secrets/default.nix
2024-11-08 18:23:40 +01:00

17 lines
321 B
Nix

{username, ...}: {
sops.defaultSopsFile = ./secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/${username}/.config/age/keys.txt";
sops.secrets.mail = {
owner = username;
};
sops.secrets.spyware = {
owner = username;
};
sops.secrets.contact = {
owner = username;
};
}