From 46e022500ff54beeb270d4789b9668bb20f51dbf Mon Sep 17 00:00:00 2001 From: deadvey Date: Sun, 24 Nov 2024 19:24:04 +0000 Subject: [PATCH] 48 current 2024-11-24 19:24:00 24.05.6463.83fb6c028368 6.6.59 * --- nixos/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index c7ef81b..663596f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -19,6 +19,12 @@ # Printing + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; + services.printing.enable = true; services.printing.drivers = ["/etc/nixos/brother.ppd"]; hardware.printers = { @@ -26,7 +32,7 @@ { name = "Brother"; location = "Study"; - deviceUri = "http://brwd85de26ba53b"; + deviceUri = "http://192.168.1.66:631"; model = "drv:///sample.drv/generic.ppd"; ppdOptions = { PageSize = "A4";