update flake and add ntfy
This commit is contained in:
parent
2a5897afa1
commit
2c90c2dcc0
12 changed files with 83 additions and 65 deletions
19
modules/system/services/server/ntfy/default.nix
Normal file
19
modules/system/services/server/ntfy/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nginx
|
||||
];
|
||||
|
||||
config = lib.mkIf config.services.ntfy-sh.enable {
|
||||
services.ntfy-sh.settings = {
|
||||
base-url = "https://ntfy.${config.vars.primeDomain}";
|
||||
behind-proxy = true;
|
||||
listen-http = ":8811";
|
||||
|
||||
smtp-sender-addr = "mx.${config.vars.mailDomain}:587";
|
||||
smtp-sender-user = "noreply";
|
||||
smtp-sender-pass = config.secrets.mailPass.nixfoxNoReply;
|
||||
smtp-sender-from = "noreply@${config.vars.primeDomain}";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue