blob: a8e1c90cb10d5e226cd68c67c0ff7ae938820bbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
pkgs,
nixpkgs-unstable,
unstable,
config,
...
}: {
disabledModules = ["services/misc/ntfy-sh.nix"];
imports = [
"${nixpkgs-unstable}/nixos/modules/services/misc/ntfy-sh.nix"
];
services.ntfy-sh.enable = true;
services.ntfy-sh = {
package = unstable.ntfy-sh;
settings = {
base-url = "https://ntfy.m4siri.com";
listen-http = ":8090";
behind-proxy = true;
auth-file = "/var/lib/ntfy-sh/user.db";
auth-users = [ "siri:$2a$10$nUCo79YppcG1wtuZCHRDquxfoXu3PIBdB2TzvXZj3EthED5LSKXWa:admin" ];
auth-access = ["*:up*:wo" ];
auth-default-access = "deny-all";
require-login = true;
enable-login = true;
web-root = "disable";
};
};
}
|