nix-conf/modules/printing/default.nix

23 lines
359 B
Nix
Raw Normal View History

2023-05-19 20:53:02 +02:00
{ 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;
};
}