22 lines
478 B
Nix
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;
|
|
};
|
|
};
|
|
}
|