Docker: Move firewall settings because it's force enabled by Docker to the docker.nix
This commit is contained in:
parent
daef4e98d0
commit
e4678a7205
2 changed files with 12 additions and 6 deletions
|
@ -115,12 +115,8 @@
|
|||
'';
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
# "Disable" firewall because of docker
|
||||
allowedTCPPortRanges = [{ from = 0; to = 65535;}];
|
||||
allowedUDPPortRanges = [{ from = 0; to = 65535;}];
|
||||
};
|
||||
# Disable firewall
|
||||
networking.firewall.enable = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue