1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07: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

@ -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"

View file

@ -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

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