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

15 lines
320 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
};
};
};
}