Skip to content

Instantly share code, notes, and snippets.

@layus
Created March 15, 2017 18:58
Show Gist options
  • Save layus/32208155451f4fee8146f5e3c6f2dc3b to your computer and use it in GitHub Desktop.
Save layus/32208155451f4fee8146f5e3c6f2dc3b to your computer and use it in GitHub Desktop.
Partial nixos config for Epson EcoTank printers.
{ pkgs, ... }:
{
# Enable CUPS to print documents.
services.printing = {
enable = true;
drivers = [ pkgs.epson-escpr ];
browsing = true;
defaultShared = true;
};
services.avahi = {
enable = true;
nssmdns = true;
publish.enable = true;
publish.addresses = true;
publish.userServices = true;
};
# Scanner not working yet
hardware.sane = {
enable = true;
extraBackends = [ pkgs.epson-escpr ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment