nixos: don't white-list port 631 in the firewall when CUPS is enabled

If you want CUPS to receive UDP printer announcements from the rest of the
world, please add

  networking.firewall.allowedUDPPorts = [ 631 ];

to /etc/nixos/configuration.nix.

See <http://lists.science.uu.nl/pipermail/nix-dev/2013-November/011997.html>
for the discussion that lead to this.
This commit is contained in:
Peter Simons 2013-12-23 21:27:07 +01:00
parent 71ee40a045
commit 19a79fc71d

View File

@ -223,9 +223,6 @@ in
</Policy>
'';
# Allow CUPS to receive IPP printer announcements via UDP.
networking.firewall.allowedUDPPorts = [ 631 ];
security.pam.services.cups = {};
};