nixos-infra/services/mail/tmpfiles.nix
2026-04-01 09:54:15 +03:00

15 lines
228 B
Nix

{
config,
lib,
sec,
...
}:
let
inherit (config.machine.mail) enable;
in
with lib;
mkIf enable {
systemd.tmpfiles.rules = [
"C /var/dkim/default.private 0600 root root - - ${sec.dkim_default_private.path}"
];
}