add samsung printerscanner

This commit is contained in:
Cyryl Płotnicki 2021-09-22 22:11:32 +01:00
parent 16af886f6b
commit 0be15a2af9

View file

@ -32,7 +32,7 @@
services.printing = { services.printing = {
enable = true; enable = true;
drivers = with pkgs; [ epson-escpr splix ]; drivers = with pkgs; [ epson-escpr samsung-unified-linux-driver ];
}; };
hardware.printers.ensurePrinters = [{ hardware.printers.ensurePrinters = [{
@ -43,16 +43,10 @@
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; }; ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
}]; }];
services.saned.enable = true;
hardware.sane = { hardware.sane = {
enable = true; enable = true;
netConf = '' extraBackends = with pkgs; [ samsung-unified-linux-driver ];
brix
brix.lan
100.73.65.60
10.0.24.232
'';
snapshot = true;
extraBackends = with pkgs; [ sane-airscan utsushi ];
}; };
powerManagement.enable = (lib.mkForce true); powerManagement.enable = (lib.mkForce true);