diff --git a/configuration.nix b/configuration.nix index b902923..191ea71 100644 --- a/configuration.nix +++ b/configuration.nix @@ -78,6 +78,7 @@ in ./modules/mesa.nix ./modules/audio.nix ./modules/ananicy.nix + ./modules/printing.nix ./common/ollama-config.nix diff --git a/modules/printing.nix b/modules/printing.nix new file mode 100644 index 0000000..c262117 --- /dev/null +++ b/modules/printing.nix @@ -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; +} \ No newline at end of file