Fix printing

This commit is contained in:
Andrea Ciceri 2024-05-15 16:53:05 +02:00
parent e0b8b9ce02
commit c68bfb81d3
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -1,8 +1,11 @@
{pkgs, ...}: { {pkgs, ...}: {
services.avahi.enable = true; services.avahi = {
# Important to resolve .local domains of printers, otherwise you get an error enable = true;
# like "Impossible to connect to XXX.local: Name or service not known" # Important to resolve .local domains of printers, otherwise you get an error
services.avahi.nssmdns4 = true; # like "Impossible to connect to XXX.local: Name or service not known"
nssmdns4 = true;
openFirewall = true;
};
hardware.sane.enable = true; hardware.sane.enable = true;
services.printing = { services.printing = {