Docker: Move firewall settings because it's force enabled by Docker to the docker.nix

This commit is contained in:
Wroclaw 2024-01-30 04:35:45 +01:00
parent daef4e98d0
commit e4678a7205
2 changed files with 12 additions and 6 deletions

View file

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