nixos-configuration/modules/printing.nix
2024-10-27 12:33:35 +01:00

16 lines
322 B
Nix

{ ... }:
{
config = {
services = {
# Enable CUPS to print documents.
printing.enable = true;
avahi = {
enable = true; # runs the Avahi daemon
nssmdns4 = true; # enables the mDNS NSS plug-in
openFirewall = true; # opens the firewall for UDP port 5353
};
};
};
}