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 ]; }; }