From 3edfdbd610721d1a7552b7027d3e4d5529dd3925 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 29 Apr 2026 00:04:10 +0200 Subject: [PATCH] feat: rewrite part of printer configuration so that usb printers work with hp plugin. also enable cups drivers and disable avahi (for now) --- modules/core/printing.nix | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/modules/core/printing.nix b/modules/core/printing.nix index 186ec4a..b79ceed 100644 --- a/modules/core/printing.nix +++ b/modules/core/printing.nix @@ -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; [ - # ]; }