Printing: Difference between revisions

imported>Garbas
mNo edit summary
imported>Madonius
Added the allowFrom option
Line 60: Line 60:
   services.printing.browsing = true;
   services.printing.browsing = true;
   services.printing.listenAddresses = [ "*:631" ]; # Not 100% sure this is needed and you might want to restrict to the local network
   services.printing.listenAddresses = [ "*:631" ]; # Not 100% sure this is needed and you might want to restrict to the local network
  services.printing.allowFrom = [ "all" ] # this gives access to anyone on the interface you might want to limit it see the official documentation
   services.printing.defaultShared = true; # If you want
   services.printing.defaultShared = true; # If you want