nix/modules/secrets/default.nix

17 lines
321 B
Nix
Raw Permalink Normal View History

2024-11-08 18:23:40 +01:00
{username, ...}: {
2024-10-12 21:12:58 +02:00
sops.defaultSopsFile = ./secrets.yaml;
sops.defaultSopsFormat = "yaml";
2024-11-08 18:23:40 +01:00
sops.age.keyFile = "/home/${username}/.config/age/keys.txt";
2024-10-12 21:12:58 +02:00
sops.secrets.mail = {
2024-11-08 18:23:40 +01:00
owner = username;
2024-10-12 21:12:58 +02:00
};
sops.secrets.spyware = {
2024-11-08 18:23:40 +01:00
owner = username;
2024-10-12 21:12:58 +02:00
};
sops.secrets.contact = {
2024-11-08 18:23:40 +01:00
owner = username;
2024-10-12 21:12:58 +02:00
};
}