From 97662f1d2b9db0b91edf8718d90574a33a73e9a1 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 29 Sep 2020 01:24:59 +0200 Subject: [PATCH] Adapt SANE configuration to new device --- configuration.nix | 1 + modules/printing.nix | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 32f0778..053e5e3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -106,6 +106,7 @@ ./modules/power.nix ./modules/cachix.nix ./overlays/emacs.nix + ]; } diff --git a/modules/printing.nix b/modules/printing.nix index 3db0ae5..102140d 100644 --- a/modules/printing.nix +++ b/modules/printing.nix @@ -7,9 +7,14 @@ # Enable SANE hardware.sane = { enable = true; - netConf = '' - 192.168.1.2 - 10.8.0.1 - ''; + brscan4 = { + enable = true; + netDevices = { + home = { + model = "DCP-L2530DW"; + ip = "192.168.1.66"; + }; + }; + }; }; }