feat: rewrite part of printer configuration so that usb printers work with hp plugin. also enable cups drivers and disable avahi (for now)

This commit is contained in:
Ahwx 2026-04-29 00:04:10 +02:00
parent b42a3c5664
commit 3edfdbd610

View file

@ -1,11 +1,21 @@
{ pkgs, ... }:
{
services.avahi = {
enable = false;
nssmdns4 = true;
openFirewall = true;
services = {
printing = {
enable = true;
drivers = with pkgs; [
cups-filters
cups-browsed
hplipWithPlugin
];
};
# avahi = {
# enable = false;
# nssmdns4 = true;
# openFirewall = true;
# };
ipp-usb.enable = true;
};
services.printing.enable = true;
# environment.systemPackages = with pkgs; [
# ];
}