From 452b6e354846c1c90377ece08c1f89ac4b5b57fd Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 4 Nov 2025 18:45:28 +0100 Subject: [PATCH] add print service --- hosts/nixos/thinkpad/system.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/thinkpad/system.nix b/hosts/nixos/thinkpad/system.nix index 2d9fef7..c213b40 100644 --- a/hosts/nixos/thinkpad/system.nix +++ b/hosts/nixos/thinkpad/system.nix @@ -174,7 +174,16 @@ }; # Enable CUPS for printing - services.printing.enable = true; + services.printing = { + enable = true; + drivers = with pkgs; [ + cups-filters + gutenprint + ]; + }; + + # Printer management GUI + programs.system-config-printer.enable = true; # Host-specific SSH configuration services.openssh = {