diff --git a/modules/printing/default.nix b/modules/printing/default.nix index f53f429..10c1539 100644 --- a/modules/printing/default.nix +++ b/modules/printing/default.nix @@ -1,8 +1,11 @@ {pkgs, ...}: { - services.avahi.enable = true; - # Important to resolve .local domains of printers, otherwise you get an error - # like "Impossible to connect to XXX.local: Name or service not known" - services.avahi.nssmdns4 = true; + services.avahi = { + enable = true; + # Important to resolve .local domains of printers, otherwise you get an error + # like "Impossible to connect to XXX.local: Name or service not known" + nssmdns4 = true; + openFirewall = true; + }; hardware.sane.enable = true; services.printing = {