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