22 lines
431 B
Nix
22 lines
431 B
Nix
# Epson ET-2760 on Wi‑Fi via IPP/mDNS.
|
||
# Import from configuration.nix when you need printing (see commented import there).
|
||
{ pkgs, ... }:
|
||
{
|
||
services.printing = {
|
||
enable = true;
|
||
webInterface = true;
|
||
drivers = with pkgs; [
|
||
epson-escpr2
|
||
epson-escpr
|
||
];
|
||
};
|
||
|
||
services.avahi = {
|
||
enable = true;
|
||
nssmdns4 = true;
|
||
openFirewall = true;
|
||
};
|
||
|
||
networking.firewall.allowedTCPPorts = [ 631 ];
|
||
}
|