nix-da/modules/system/printing.nix

17 lines
238 B
Nix

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