From 3bdface3dbfb79c14de4b200dedc16b026303c00 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 2 Apr 2024 11:01:00 +0200 Subject: [PATCH] modules: add thelounge --- clanModules/flake-module.nix | 11 ++++++----- clanModules/thelounge.nix | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 clanModules/thelounge.nix diff --git a/clanModules/flake-module.nix b/clanModules/flake-module.nix index 24ade7af6..65e413a5d 100644 --- a/clanModules/flake-module.nix +++ b/clanModules/flake-module.nix @@ -8,19 +8,20 @@ ]; }; borgbackup = ./borgbackup.nix; - localbackup = ./localbackup.nix; deltachat = ./deltachat.nix; + graphical = ./graphical.nix; + localbackup = ./localbackup.nix; + localsend = ./localsend.nix; matrix-synapse = ./matrix-synapse.nix; moonlight = ./moonlight.nix; + sshd = ./sshd.nix; sunshine = ./sunshine.nix; syncthing = ./syncthing.nix; - sshd = ./sshd.nix; + thelounge = ./thelounge.nix; vm-user = ./vm-user.nix; - graphical = ./graphical.nix; + waypipe = ./waypipe.nix; xfce = ./xfce.nix; xfce-vm = ./xfce-vm.nix; zt-tcp-relay = ./zt-tcp-relay.nix; - localsend = ./localsend.nix; - waypipe = ./waypipe.nix; }; } diff --git a/clanModules/thelounge.nix b/clanModules/thelounge.nix new file mode 100644 index 000000000..936794b0c --- /dev/null +++ b/clanModules/thelounge.nix @@ -0,0 +1,15 @@ +_: { + services.thelounge = { + enable = true; + public = true; + extraConfig = { + prefetch = true; + defaults = { + port = 6667; + tls = false; + }; + }; + }; + + clanCore.state.thelounde.folders = [ "/var/lib/thelounge" ]; +}