From 798f7669432a94710dcb3b4318a90064be400a67 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 10 Jan 2024 09:50:48 +0300 Subject: [PATCH] Remove openFirewall option --- Cargo.toml | 2 +- README.md | 6 ------ flake.nix | 11 ----------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 95d9689..c13dcea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "The official website and link portal of RGBCube and his work." authors = [ "RGBCube" ] license = "GPL" version = "0.0.1" -homepage = "https://rgbcu.be" +homepage = "https://rgbcu.be/" repository = "https://github.com/RGBCube/Site" edition = "2021" diff --git a/README.md b/README.md index e6a0c0e..e3baf83 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,6 @@ Specifies the log level that the site service will log stuff with. Default: info. -### `services.site.openFirewall` - -Whether to open the firewall port for the tcp listener. - -Default: false. - ## License All the markdown files under the `src/` directory are licensed diff --git a/flake.nix b/flake.nix index a046973..8413376 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; }; });