Infini-SERVER: setup thelounge

This commit is contained in:
Infinidoge 2023-09-13 09:14:50 -04:00
parent 4ed7c404f5
commit 9e5ca106b3
2 changed files with 23 additions and 0 deletions

View file

@ -43,6 +43,7 @@
"/var/lib/systemd/coredump"
"/var/lib/tailscale"
"/var/lib/bitwarden_rs"
"/var/lib/thelounge"
"/srv"
];
@ -103,6 +104,11 @@
proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
};
};
"thelounge.inx.moe" = ssl // {
locations."/" = {
proxyPass = "http://localhost:${toString config.services.thelounge.port}";
};
};
};
};
@ -145,6 +151,17 @@
theme = "Black";
};
};
thelounge = {
enable = true;
plugins = with pkgs.theLoungePlugins; [
themes.zenburn-monospace
];
port = 9786;
extraConfig = {
reverseProxy = true;
};
};
};
networking.firewall = {

View file

@ -59,6 +59,12 @@ in
options = [ "subvol=root/var/lib/bitwarden_rs" ] ++ commonOptions;
};
"/persist/var/lib/thelounge" = lib.mkIf (data != null) {
device = data;
fsType = "btrfs";
options = [ "subvol=root/var/lib/thelounge" ] ++ commonOptions;
};
"/nix" = {
device = main;
fsType = "btrfs";