nix-conf/modules/printing/default.nix
2023-05-19 20:53:02 +02:00

22 lines
359 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;
nssmdns = true;
openFirewall = true;
};
}