nixos-configuration/modules/printing.nix
Vinzenz Schroeter 5944fe5cca split config
2024-10-26 12:32:15 +02:00

20 lines
349 B
Nix

{
config,
pkgs,
lib,
...
}: {
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
};
};
};
}