nix-conf/modules/printing/default.nix

23 lines
360 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;
2023-12-17 15:33:58 +01:00
nssmdns4 = true;
2023-05-19 20:53:02 +02:00
openFirewall = true;
};
}