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"; + }; + } + ]; }