Evie Litherland-Smith
763a1d2a05
Place home-manager config under home directory, move system config under system directory. Add hostname-specific entries under home directory to be consistent with how system is configured, update flake accordingly
15 lines
370 B
Nix
15 lines
370 B
Nix
{...}: {
|
|
imports = [./caddy.nix];
|
|
services.ntfy-sh = {
|
|
enable = true;
|
|
settings = {
|
|
base-url = "https://ntfy.xenia.me.uk";
|
|
listen-http = ":8800";
|
|
behind-proxy = true;
|
|
enable-signup = false;
|
|
enable-metrics = true;
|
|
};
|
|
};
|
|
services.caddy.virtualHosts."ntfy.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8800";
|
|
}
|