mirror of
https://github.com/RGBCube/Site
synced 2025-08-02 05:57:46 +00:00
Remove openFirewall option
This commit is contained in:
parent
f588299cf8
commit
798f766943
3 changed files with 1 additions and 18 deletions
11
flake.nix
11
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 ];
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue