better printing

This commit is contained in:
Clayton Hickey 2026-03-14 00:49:54 -04:00
parent 2b660e73e9
commit 06adc96052
Signed by: clay53
SSH key fingerprint: SHA256:fjW4+nfPltYzrJ4uZlYQvrYMshxHnah2S4qM8Hth9HQ
3 changed files with 23 additions and 1 deletions

22
printing.nix Normal file
View file

@ -0,0 +1,22 @@
{lib, config, pkgs, ...}:
{
config = lib.mkMerge [
(lib.mkIf (config.networking.hostName == "clhickey-nixos") {
services.printing = {
enable = true;
drivers = with pkgs; [
cups-filters
cups-browsed
epson-escpr2
epson-escpr
];
};
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
})
];
}