Infini-SERVER: setup thelounge
This commit is contained in:
parent
4ed7c404f5
commit
9e5ca106b3
2 changed files with 23 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/var/lib/tailscale"
|
"/var/lib/tailscale"
|
||||||
"/var/lib/bitwarden_rs"
|
"/var/lib/bitwarden_rs"
|
||||||
|
"/var/lib/thelounge"
|
||||||
|
|
||||||
"/srv"
|
"/srv"
|
||||||
];
|
];
|
||||||
|
@ -103,6 +104,11 @@
|
||||||
proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
|
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";
|
theme = "Black";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
thelounge = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.theLoungePlugins; [
|
||||||
|
themes.zenburn-monospace
|
||||||
|
];
|
||||||
|
port = 9786;
|
||||||
|
extraConfig = {
|
||||||
|
reverseProxy = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
|
@ -59,6 +59,12 @@ in
|
||||||
options = [ "subvol=root/var/lib/bitwarden_rs" ] ++ commonOptions;
|
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" = {
|
"/nix" = {
|
||||||
device = main;
|
device = main;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue