2024-11-04 22:41:38 -05:00
|
|
|
{ config, lib, pkgs, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-11-04 22:41:38 -05: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
|
|
|
};
|
|
|
|
|
2024-11-04 22:41:38 -05:00
|
|
|
environment.systemPackages = with pkgs; [ system-config-printer ];
|
|
|
|
};
|
2024-08-24 22:16:51 -04:00
|
|
|
}
|