############################################################################################## # Enable CUPS to print documents. services.printing.enable = true; services.avahi = { enable = true; nssmdns4 = true; openFirewall = true; }; # CUPS (is weird... does not support UTF-8), so from terminal change password via doas passwd > 123 > then localhost:631/admin use "username:root" "password:123" services.printing.drivers = [ pkgs.cups-dymo ]; # users.users.user = { # extraGroups = [ “lp” ]; # }; # The settings base is the CUPS daemon that needs to be running. This is how the user sends commands to the printer it has access to. But enabling CUPS is not enough, as it runs under its own user and for you to interact with it you will need to be part of the CUPS group. Without this setting I was unable to send any command to the printer(both of them). Also in case of a printer that does not use IPP you will probably need to add a driver for the printer as I did for the Dymo.# ##############################################################################################