diff options
author | makefu <github@syntax-fehler.de> | 2020-11-16 21:31:58 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-16 21:31:58 +0100 |
commit | 4fb678f03f381b6bd0cda10a3c161dab8be5ed00 (patch) | |
tree | 2c5c3c9feb8ce0eb5e51a3e8b79d29f0465c2b5b /makefu | |
parent | 94b6aea2cd6af0454577bf3ba69cfdfd130f928b (diff) |
ma printer: use extraconfig for magicolor, new netconfig for lan devices
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/printer.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/makefu/2configs/printer.nix b/makefu/2configs/printer.nix index d297483b2..6fd1c1858 100644 --- a/makefu/2configs/printer.nix +++ b/makefu/2configs/printer.nix @@ -21,16 +21,20 @@ in { hardware.sane = { enable = true; extraBackends = [ ]; + netConf = + # drucker.lan SCX-3205W + '' + 192.168.1.6'' + # uhrenkind.shack magicolor 1690mf + + '' + 10.42.20.30''; # $ scanimage -p --format=jpg --mode=Gray --source="Automatic Document Feeder" -v --batch="lol%d.jpg" --resolution=150 # requires 'sane-extra', scan via: - #extraConfig."magicolor" = '' - # net 10.42.20.30 0x2098 - #''; # 10.42.20.30: uhrenkind.shack magicolor 1690mf - extraConfig."xerox_mfp" = '' - tcp 192.168.1.5 - ''; #home printer SCX-3205W + extraConfig."magicolor" = '' + net 10.42.20.30 0x2098 + ''; # 10.42.20.30: uhrenkind.shack magicolor 1690mf }; state = [ "/var/lib/cups" ]; } |