mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Enable printing service & some drivers
This commit is contained in:
parent
6142dcd24f
commit
37a4619036
@ -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
29
modules/printing.nix
Normal 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;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user