Compare commits
2 commits
68af830b73
...
e5fe18f28c
Author | SHA1 | Date | |
---|---|---|---|
|
e5fe18f28c | ||
|
bdfa7316f2 |
3 changed files with 34 additions and 1 deletions
|
@ -10,6 +10,7 @@ lib.extra.mkConfig {
|
||||||
# List of services to enable
|
# List of services to enable
|
||||||
"metis"
|
"metis"
|
||||||
"linkal"
|
"linkal"
|
||||||
|
"ntfy-sh"
|
||||||
"plausible"
|
"plausible"
|
||||||
"wordpress"
|
"wordpress"
|
||||||
];
|
];
|
||||||
|
|
26
machines/web01/ntfy-sh.nix
Normal file
26
machines/web01/ntfy-sh.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
_:
|
||||||
|
|
||||||
|
let host = "push.dgnum.eu";
|
||||||
|
|
||||||
|
in {
|
||||||
|
services.ntfy-sh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
base-url = "https://${host}";
|
||||||
|
enable-login = true;
|
||||||
|
behind-proxy = true;
|
||||||
|
manager-interval = "1h";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts.${host} = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:2586";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -94,7 +94,7 @@
|
||||||
# outline: 0.71.0 -> 0.72.0
|
# outline: 0.71.0 -> 0.72.0
|
||||||
{
|
{
|
||||||
id = 259246;
|
id = 259246;
|
||||||
hash = "sha256-GMwtKnsBkik2N8bzoCUaxKgZoFaHjGWtLTANXcC+CsE=";
|
hash = "sha256-gRGsmqFjtQWWCCTRr9QHZDM3NxIbj5G9bFaFaTYTEYY=";
|
||||||
}
|
}
|
||||||
|
|
||||||
# nixos/outline: Add the possibility of using local storage instead of S3
|
# nixos/outline: Add the possibility of using local storage instead of S3
|
||||||
|
@ -103,5 +103,11 @@
|
||||||
excludes = [ "nixos/doc/manual/*" ];
|
excludes = [ "nixos/doc/manual/*" ];
|
||||||
hash = "sha256-Hd3bRYncjnfHzEx+g6rb9cU3YmhF6W3QOtQUuDzw78U=";
|
hash = "sha256-Hd3bRYncjnfHzEx+g6rb9cU3YmhF6W3QOtQUuDzw78U=";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# nixos/ntfy.sh: use dynamic user + add defaults
|
||||||
|
{
|
||||||
|
id = 234811;
|
||||||
|
hash = "sha256-Yz007dCmGl5OxRDMSHv63Ww+LzoQISm9Ttiw0p/6spY=";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue