nix-conf/modules/printing/default.nix
2023-12-17 15:33:58 +01:00

22 lines
360 B
Nix

{ pkgs, ... }:
{
services.printing = {
enable = true;
webInterface = true;
drivers = with pkgs; [ hplipWithPlugin ];
};
hardware = {
sane = {
enable = true;
extraBackends = with pkgs; [ sane-airscan hplipWithPlugin ];
};
};
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}