config/profiles/printing.nix

16 lines
270 B
Nix
Raw Permalink Normal View History

2024-11-02 18:42:16 +01:00
{ config, lib, pkgs, ... }:
{
# https://wiki.nixos.org/wiki/Printing
services.printing.enable = true;
# Enable autodiscovery of network IPP printers
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true; # opens port 5353
};
}