chore: maintain
This commit is contained in:
parent
2378a66114
commit
25482857d4
58 changed files with 1095 additions and 747 deletions
|
|
@ -6,6 +6,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config.networking) domain;
|
||||
mkCondition = (
|
||||
condition: ithen: ielse: [
|
||||
{
|
||||
|
|
@ -18,7 +19,6 @@ let
|
|||
|
||||
rspamdWebPort = 11333;
|
||||
rspamdPort = 31009;
|
||||
domain = "dnywe.com";
|
||||
fqdn = "mx1.dnywe.com";
|
||||
|
||||
rspamdSecretFile = config.sops.secrets."rspamd".path;
|
||||
|
|
@ -202,18 +202,4 @@ in
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
services.mail-ntfy-server = {
|
||||
enable = true;
|
||||
settings = {
|
||||
NTFY_URL = "https://ntfy.net.dn";
|
||||
NTFY_TOPIC = "dachxy-mail";
|
||||
NTFY_RCPTS = [ "dachxy@dnywe.com" ];
|
||||
HOST = "127.0.0.1";
|
||||
PORT = 31010;
|
||||
};
|
||||
environmentFiles = [
|
||||
config.sops.secrets."ntfy".path
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue