From b1e28f86b2bb27ed11c3c33d9f221bee3a35ee05 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 27 Dec 2024 04:40:52 -0800 Subject: [PATCH] fix nyazoom service --- modules/nyazoom.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nyazoom.nix b/modules/nyazoom.nix index 711f5b8..ba91989 100644 --- a/modules/nyazoom.nix +++ b/modules/nyazoom.nix @@ -15,7 +15,10 @@ in script = '' DATABASE_URL="sqlite:///var/lib/nyazoom/data" ${lib.getExe nyazoom} ''; + wantedBy = [ "network.target" ]; wants = [ "network.target" ]; }; + + networking.firewall.allowedTCPPorts = [ 3000 ]; }; }