diff --git a/modules/services/printing/module.nix b/modules/services/printing/module.nix index 5df6b53..732fc17 100644 --- a/modules/services/printing/module.nix +++ b/modules/services/printing/module.nix @@ -18,15 +18,28 @@ in { tempDir = "/tmp/cups"; # Do not advertise shared printers. - browsing = false; + browsing = true; + + # browsedConf = '' + # BrowseDNSSDSubTypes _cups,_print + # BrowseLocalProtocols all + # BrowseRemoteProtocols all + # CreateIPPPrinterQueues All + + # BrowseProtocols all + # ''; # Enable the CUPS webinterface, accessible at localhost:631. webInterface = true; + logLevel = "debug"; + # Some local or network printers might need additional drivers. # These can be added into here. - drivers = [ - pkgs.cups-kyocera-ecosys-m552x-p502x + drivers = with pkgs; [ + gutenprint + cups-kyocera-ecosys-m552x-p502x + cups-filters ]; }; @@ -35,6 +48,7 @@ in { avahi = { enable = true; nssmdns4 = true; + nssmdns6 = true; openFirewall = true; }; };