summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/printer.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-20 12:15:51 +0200
committerlassulus <lassulus@lassul.us>2017-09-20 12:15:51 +0200
commitdcde03342c040ca00f2b80ca4d1c3bb68844b105 (patch)
tree2c5463c193c7dd6124c4dfc756fb23ab88e846b2 /makefu/2configs/printer.nix
parent821e59baca98b5caba65c6e7c7e4d6671593a69e (diff)
parentad06126dcedfd5f28a3b64f2df2f32428f933a08 (diff)
Merge remote-tracking branch 'gum/master'
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
};
}