Initial dendritic rewrite
This commit is contained in:
24
modules/features/printing.nix
Normal file
24
modules/features/printing.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
flake.modules.nixos.printing =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
# Enable CUPS to print documents.
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [
|
||||
gutenprint
|
||||
cnijfilter2
|
||||
];
|
||||
};
|
||||
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.sane.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user