Files
nix-stuff/liam/sops.nix
Shelvacu 3461b7c3ee wip
2025-03-16 20:22:37 -07:00

22 lines
478 B
Nix

{
config,
...
}:
{
imports = [ ../common/sops-integrate.nix ];
config = {
sops.secrets.dovecot-passwd = {
restartUnits = [ "dovecot2.service" ];
};
sops.secrets.dkim_key = {
name = "dkimkeys/2024-03-liam.private";
restartUnits = [ "opendkim.service" ];
owner = config.services.opendkim.user;
};
sops.secrets.relay_creds = {
restartUnits = [ "postfix.service" ];
owner = config.services.postfix.user;
};
};
}