add scanner - wip
This commit is contained in:
parent
09f3b7cc6e
commit
3ca38316fd
1 changed files with 11 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
||||||
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||||
};
|
};
|
||||||
hardware.u2f.enable = true;
|
hardware.u2f.enable = true;
|
||||||
hardware.sane.enable = true;
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.bluezFull;
|
package = pkgs.bluezFull;
|
||||||
|
@ -28,17 +28,24 @@
|
||||||
|
|
||||||
services.printing = {
|
services.printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = [ pkgs.epson-escpr pkgs.samsung-unified-linux-driver pkgs.splix ];
|
drivers = with pkgs; [ epson-escpr samsung-unified-linux-driver splix ];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.printers.ensurePrinters = [{
|
hardware.printers.ensurePrinters = [{
|
||||||
description = "Epson XP540";
|
description = "Epson XP-540";
|
||||||
name = "epsonxp540";
|
name = "epson_xp540";
|
||||||
deviceUri = "ipp://epsonxp540.lan/ipp/print";
|
deviceUri = "ipp://epsonxp540.lan/ipp/print";
|
||||||
model = "epson-inkjet-printer-escpr/Epson-XP-540_Series-epson-escpr-en.ppd";
|
model = "epson-inkjet-printer-escpr/Epson-XP-540_Series-epson-escpr-en.ppd";
|
||||||
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
|
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
hardware.sane = {
|
||||||
|
enable = true;
|
||||||
|
netConf = "epsonxp540.lan";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.saned.enable = true;
|
||||||
|
|
||||||
powerManagement.enable = (lib.mkForce true);
|
powerManagement.enable = (lib.mkForce true);
|
||||||
powerManagement.cpuFreqGovernor = (lib.mkForce null);
|
powerManagement.cpuFreqGovernor = (lib.mkForce null);
|
||||||
powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue