grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderi gotta stop doing these massive changesb70d9f9

main
514 B22 linesraw
1{ ... }:
2
3{
4  services.ntfy-sh = {
5    enable = true;
6    settings = {
7      base-url = "https://ntfy.gae.moe";
8      listen-http = "127.0.0.1:2586";
9      behind-proxy = true;
10      auth-default-access = "deny-all";
11      enable-login = true;
12      enable-signup = false;
13      upstream-base-url = "https://ntfy.sh";
14    };
15  };
16
17  services.nginx.virtualHosts."ntfy.gae.moe".locations."/" = {
18    proxyPass = "http://127.0.0.1:2586";
19    proxyWebsockets = true;
20    extraConfig = "proxy_read_timeout 1h;";
21  };
22}