chore: nf-fmt-nix

This commit is contained in:
arcnmx 2024-05-13 15:13:58 -07:00
parent 7486517713
commit 9903866044
160 changed files with 4570 additions and 3019 deletions

View file

@ -8,10 +8,15 @@
in {
networking.firewall.interfaces.local.allowedTCPPorts = let
inherit (cfg.ssl) preread;
in mkIf cfg.enable [
(if preread.enable then preread.serverPort else cfg.defaultSSLListenPort)
cfg.defaultHTTPListenPort
];
in
mkIf cfg.enable [
(
if preread.enable
then preread.serverPort
else cfg.defaultSSLListenPort
)
cfg.defaultHTTPListenPort
];
services.nginx = {
enable = true;