diff --git a/nixos/hosts/common/optional/maddy.nix b/nixos/hosts/common/optional/maddy.nix index 0ebec3a..55d3647 100644 --- a/nixos/hosts/common/optional/maddy.nix +++ b/nixos/hosts/common/optional/maddy.nix @@ -7,6 +7,10 @@ group = "maddy"; }; + # Restart dnscrypt when secret changes + config.sops.secrets."system/mail/maddy/envFile".restartUnits = [ "maddy" ]; + + # config.services.maddy = { enable = true;