summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/printer.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-11 23:02:58 +0200
committermakefu <github@syntax-fehler.de>2017-09-11 23:03:03 +0200
commit4b19401a82378ef9d091c8f58da0a67b33ec8ac6 (patch)
tree0a5aba029515f762f5a5e81b0b9cbada7b001bef /makefu/2configs/printer.nix
parent2b4d7d951299d7dada001476872d809310f40810 (diff)
ma printer: add SXC-3205W network scanner
Diffstat (limited to 'makefu/2configs/printer.nix')
-rw-r--r--makefu/2configs/printer.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/makefu/2configs/printer.nix b/makefu/2configs/printer.nix
index 0865a0841..51e69d8b7 100644
--- a/makefu/2configs/printer.nix
+++ b/makefu/2configs/printer.nix
@@ -14,17 +14,20 @@ in {
# scanners are printers just in reverse anyway
services.saned.enable = true;
- users.users."${mainUser}".extraGroups = [ "scanner" ];
+ users.users."${mainUser}".extraGroups = [ "scanner" "lp" ];
hardware.sane = {
enable = true;
- extraBackends = [ pkgs.samsungUnifiedLinuxDriver ];
+ extraBackends = [ ];
# $ 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."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
};
}