Enable printing service & some drivers

This commit is contained in:
Username404-59 2026-07-03 00:48:35 +02:00
parent 6142dcd24f
commit 37a4619036
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7
2 changed files with 30 additions and 0 deletions

View File

@ -78,6 +78,7 @@ in
./modules/mesa.nix ./modules/mesa.nix
./modules/audio.nix ./modules/audio.nix
./modules/ananicy.nix ./modules/ananicy.nix
./modules/printing.nix
./common/ollama-config.nix ./common/ollama-config.nix

29
modules/printing.nix Normal file
View File

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = with pkgs; [
# general
cups
cups-browsed
cups-filters
gutenprint # Very good drivers package
# Canon
cnijfilter2
canon-cups-ufr2
# Brother
brlaser #brgenml1lpr brgenml1cupswrapper
];
};
# Auto-discovery
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
# IPP-over-USB (just in case)
services.ipp-usb.enable = true;
}