From c743bb8318913ad96fbf653158bbb4709c81e800 Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Fri, 4 Sep 2026 13:00:34 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=2029=20@=20lilac=20=E2=80=94=20202?= =?UTF-8?q?6-09-04=2013:00=2026.05.20260814.02e0898=20(Yarara)=20-----=20a?= =?UTF-8?q?dding=20u=20of=20u=20printers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/services/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/system/services/default.nix b/system/services/default.nix index d63e938..a4527d0 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -86,4 +86,29 @@ in gnome.gnome-keyring.enable = true; blueman.enable = true; }; + + hardware.printers.ensurePrinters = [ + { + name = "Marriott_Library_BW"; + location = "Knowledge Commons Level 2"; + description = "UofU B&W Print Queue"; + deviceUri = "lpd://pharossys-ps1.ucard.utah.edu/kcq-1"; + model = "drv:///sample.drv/generic.ppd"; + ppdOptions = { + PageSize = "Letter"; + Duplex = "DuplexNoTumble"; # Enables two-sided printing by default + }; + } + { + name = "Marriott_Library_Color"; + location = "Knowledge Commons Level 2"; + description = "UofU Color Print Queue"; + deviceUri = "lpd://pharossys-ps1.ucard.utah.edu/kcq-7"; + model = "drv:///sample.drv/generic.ppd"; + ppdOptions = { + PageSize = "Letter"; + Duplex = "DuplexNoTumble"; + }; + } + ]; }