mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 15:24:39 +02:00
feat(service): add ntfy
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
# ./nginx.nix
|
||||
./gitea.nix
|
||||
./nextcloud.nix
|
||||
# ./nginx.nix
|
||||
./ntfy.nix
|
||||
./octoprint.nix
|
||||
./vaultwarden.nix
|
||||
];
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
settings = {
|
||||
default_phone_region = "IT";
|
||||
overwriteprotocol = "https";
|
||||
mail_domain = "patrickcanal.it";
|
||||
mail_from_address = "nextcloud";
|
||||
mail_smtphost = "127.0.0.1";
|
||||
mail_smtpport = 25;
|
||||
log_type = "file";
|
||||
trusted_domains = [
|
||||
"nextcloud.patrickcanal.it"
|
||||
];
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.ntfy-sh = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.templates."ntfy.env".path;
|
||||
settings = {
|
||||
listen-http = ":8005";
|
||||
base-url = "https://ntfy.patrickcanal.it";
|
||||
smtp-server-listen = ":25";
|
||||
smtp-server-domain = "patrickcanal.it";
|
||||
behind-proxy = true;
|
||||
enable-login = true;
|
||||
require-login = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user