nix-da/modules/printing.nix

17 lines
237 B
Nix

{
lib,
config,
pkgs,
...
}:
lib.mkIf config.services.printing.enable {
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
services.printing = {
drivers = with pkgs; [ hplip ];
};
}