From 71c7cf31d23657d0a12a55fe9daf38a2f9de8724 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 26 Apr 2024 10:36:59 +0200 Subject: [PATCH] printing: enable --- hosts/thinkpad/modules/printing/default.nix | 24 ++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/hosts/thinkpad/modules/printing/default.nix b/hosts/thinkpad/modules/printing/default.nix index 5285585..de2c4ad 100644 --- a/hosts/thinkpad/modules/printing/default.nix +++ b/hosts/thinkpad/modules/printing/default.nix @@ -1,13 +1,17 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ cups ]; - # services.printing = { - # enable = true; - # stateless = true; - # browsedConf = '' - # BrowsePoll cups.agdsn.network - # LocalQueueNamingRemoteCUPS RemoteName - # ''; - # drivers = with pkgs; [ cups-kyocera ]; - # }; + # environment.systemPackages = with pkgs; [ cups ]; + services.avahi = { + enable = true; + nssmdns4 = true; + }; + services.printing = { + enable = true; + stateless = true; + browsedConf = '' + BrowsePoll cups.agdsn.network + LocalQueueNamingRemoteCUPS RemoteName + ''; + drivers = with pkgs; [ cups-kyocera ]; + }; }