From c6cd809f0206be9c310d93816fb310e1694f5896 Mon Sep 17 00:00:00 2001 From: Jan Grosser Date: Wed, 21 Aug 2024 23:13:26 +0200 Subject: [PATCH] Update config to make printer print See: https://discourse.nixos.org/t/still-cant-print-after-6-months-canon-mf445dw-at-the-end-of-my-rope/24665/21 --- hosts/p14s/configuration.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hosts/p14s/configuration.nix b/hosts/p14s/configuration.nix index ae28651..0e54ef8 100644 --- a/hosts/p14s/configuration.nix +++ b/hosts/p14s/configuration.nix @@ -65,15 +65,19 @@ console.keyMap = "de"; # Enable CUPS to print documents. + # Canon Wifi printer was discovered automatically by CUPS. + # No driver installation necessary + # See: https://discourse.nixos.org/t/still-cant-print-after-6-months-canon-mf445dw-at-the-end-of-my-rope/24665/21 services.printing.enable = true; - services.printing.drivers = with pkgs; [ - cups-bjnp # CUPS back-end for Canon printers - ]; + #services.printing.drivers = with pkgs; [ + # cups-bjnp # CUPS back-end for Canon printers + #]; # Enable autodiscovery of network printers services.avahi = { enable = true; - nssmdns4 = true; + #nssmdns4 = true; + nssmdns = true; openFirewall = true; };