From 32f9b3f25cd2e8ed5d5eba896ef318a9c84f86ea Mon Sep 17 00:00:00 2001 From: deadvey Date: Sat, 23 Nov 2024 00:06:58 +0000 Subject: [PATCH] 38 current 2024-11-23 00:06:52 24.05.6463.83fb6c028368 6.6.59 * --- nixos/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 864a14c..434cb88 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -19,6 +19,20 @@ # Printing services.printing.enable = true; + hardware.printers = { + ensurePrinters = [ + { + name = "Dell_1250c"; + location = "Home"; + deviceUri = "http://192.168.178.2:631/printers/Dell_1250c"; + model = "drv:///sample.drv/generic.ppd"; + ppdOptions = { + PageSize = "A4"; + }; + } + ]; + ensureDefaultPrinter = "Dell_1250c"; + }; # Bootloader. boot.loader.systemd-boot.enable = true;