feat: fix printing
This commit is contained in:
@@ -2,13 +2,20 @@
|
|||||||
flake.modules.nixos.printing =
|
flake.modules.nixos.printing =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.printing = {
|
programs.system-config-printer.enable = true;
|
||||||
|
services = {
|
||||||
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
browsed.enable = true;
|
||||||
drivers = with pkgs; [
|
drivers = with pkgs; [
|
||||||
cups-filters
|
|
||||||
cups-browsed
|
|
||||||
cnijfilter2
|
cnijfilter2
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user