Compare commits
No commits in common. "62ae90a7170d15b471d27175f17f76d68dc19422" and "18a8793f216497f3486dfa5c6cf85024763300c2" have entirely different histories.
62ae90a717
...
18a8793f21
2 changed files with 0 additions and 36 deletions
|
@ -19,7 +19,6 @@
|
||||||
./murmur.nix
|
./murmur.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./upgrade.nix
|
./upgrade.nix
|
||||||
./weechat.nix
|
|
||||||
./woodpecker.nix
|
./woodpecker.nix
|
||||||
|
|
||||||
../../users/maintainer
|
../../users/maintainer
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
{pkgs, ...}: let
|
|
||||||
port = 6969;
|
|
||||||
in {
|
|
||||||
services = {
|
|
||||||
weechat = {
|
|
||||||
enable = true;
|
|
||||||
binary = let
|
|
||||||
weechat = pkgs.weechat.override {
|
|
||||||
scripts = with pkgs.weechatScripts; [
|
|
||||||
autosort
|
|
||||||
highmon
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in "${weechat}/bin/weechat-headless";
|
|
||||||
};
|
|
||||||
|
|
||||||
nginx = {
|
|
||||||
virtualHosts."irc.buffet.sh" = {
|
|
||||||
useACMEHost = "buffet.sh";
|
|
||||||
forceSSL = true;
|
|
||||||
|
|
||||||
locations = {
|
|
||||||
"^~ /weechat" = {
|
|
||||||
proxyPass = "http://localhost:${toString port}";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"/" = {
|
|
||||||
root = pkgs.glowing-bear;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue