2dprinting

This commit is contained in:
Julian Sutter 2024-12-26 15:09:46 -08:00
parent acd10ce02d
commit aafae51227

16
desktop/2dprinting.nix Executable file
View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
services.avahi = {
enable = true;
nssmdns = true;
};
networking.firewall.allowedTCPPorts = [ 631 ];
networking.firewall.allowedUDPPorts = [ 5353 ];
}