1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-02 05:57:46 +00:00

Remove openFirewall option

This commit is contained in:
RGBCube 2024-01-10 09:50:48 +03:00
parent f588299cf8
commit 798f766943
No known key found for this signature in database
3 changed files with 1 additions and 18 deletions

View file

@ -126,14 +126,6 @@
Specifies the log level that the site service will log stuff with.
'';
};
openFirewall = mkOption {
type = types.bool;
default = false;
description = mdDoc ''
Whether to open the firewall port for the tcp listener.
'';
};
};
};
@ -184,9 +176,6 @@
SystemCallFilter = [ "@system-service" "~@resources" "~@privileged" ];
};
};
networking.firewall.allowedTCPPorts =
optionals cfg.openFirewall [ cfg.port ];
};
};
});