mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-05-06 11:02:20 +02:00
feat: rewrite part of printer configuration so that usb printers work with hp plugin. also enable cups drivers and disable avahi (for now)
This commit is contained in:
parent
b42a3c5664
commit
3edfdbd610
1 changed files with 17 additions and 7 deletions
|
|
@ -1,11 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.avahi = {
|
||||
enable = false;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [
|
||||
cups-filters
|
||||
cups-browsed
|
||||
hplipWithPlugin
|
||||
];
|
||||
};
|
||||
|
||||
# avahi = {
|
||||
# enable = false;
|
||||
# nssmdns4 = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
|
||||
ipp-usb.enable = true;
|
||||
};
|
||||
services.printing.enable = true;
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue