NixOS-Config/modules/system/devices/printing/default.nix

20 lines
407 B
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, ... }:
2024-10-09 03:36:08 -04:00
{
config = lib.mkIf config.system.desktop.enable {
services = {
printing = {
enable = true;
drivers = with pkgs; [ hplip ];
webInterface = false;
};
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
2024-08-24 22:16:51 -04:00
};
environment.systemPackages = with pkgs; [ system-config-printer ];
};
2024-08-24 22:16:51 -04:00
}