nix/modules/secrets/default.nix

25 lines
482 B
Nix
Raw Normal View History

2024-10-12 21:12:58 +02:00
{
sops.defaultSopsFile = ./secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/joy/.config/age/keys.txt";
sops.secrets.mail = {
owner = "joy";
};
sops.secrets.spyware = {
owner = "joy";
};
sops.secrets.contact = {
owner = "joy";
};
users.users.sometestservice = {
home = "/var/lib/sometestservice";
createHome = true;
isSystemUser = true;
group = "sometestservice";
};
users.groups.sometestservice = {};
}