mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Remove openFirewall option
This commit is contained in:
parent
f588299cf8
commit
798f766943
3 changed files with 1 additions and 18 deletions
|
@ -4,7 +4,7 @@ description = "The official website and link portal of RGBCube and his work."
|
||||||
authors = [ "RGBCube" ]
|
authors = [ "RGBCube" ]
|
||||||
license = "GPL"
|
license = "GPL"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
homepage = "https://rgbcu.be"
|
homepage = "https://rgbcu.be/"
|
||||||
repository = "https://github.com/RGBCube/Site"
|
repository = "https://github.com/RGBCube/Site"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -30,12 +30,6 @@ Specifies the log level that the site service will log stuff with.
|
||||||
|
|
||||||
Default: info.
|
Default: info.
|
||||||
|
|
||||||
### `services.site.openFirewall`
|
|
||||||
|
|
||||||
Whether to open the firewall port for the tcp listener.
|
|
||||||
|
|
||||||
Default: false.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
All the markdown files under the `src/` directory are licensed
|
All the markdown files under the `src/` directory are licensed
|
||||||
|
|
11
flake.nix
11
flake.nix
|
@ -126,14 +126,6 @@
|
||||||
Specifies the log level that the site service will log stuff with.
|
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" ];
|
SystemCallFilter = [ "@system-service" "~@resources" "~@privileged" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts =
|
|
||||||
optionals cfg.openFirewall [ cfg.port ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue