about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-03-10T15·58+0200
committertazjin <tazjin@tvl.su>2022-03-11T21·38+0000
commitfb5f21067e17ec0206b3924ab1dbbb1779943acc (patch)
treec522f7c4f9abe26107c5c2b1c13624dfd9a56735 /ops
parenta0a79f493d19dd550781ea699c3af5e6f091cbb4 (diff)
fix(modules/quassel): Open firewall port automatically r/3905
Change-Id: Ie815495561f789590b5f49ecfd33441822f79047
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5382
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/quassel.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/modules/quassel.nix b/ops/modules/quassel.nix
index 4a0b64ffc1..275e2809d7 100644
--- a/ops/modules/quassel.nix
+++ b/ops/modules/quassel.nix
@@ -43,6 +43,8 @@ in
   };
 
   config = with lib; mkIf cfg.enable {
+    networking.firewall.allowedTCPPorts = [ cfg.port ];
+
     systemd.services.quassel = {
       description = "Quassel IRC daemon";
       wantedBy = [ "multi-user.target" ];