24 lines
361 B
Nix
24 lines
361 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services = {
|
|
# Printer Setup
|
|
printing.enable = true;
|
|
avahi = {
|
|
enable = true;
|
|
nssmdns = true;
|
|
# for a WiFi printer
|
|
openFirewall = true;
|
|
};
|
|
udev.packages = [pkgs.utsushi];
|
|
};
|
|
|
|
# Scanner Setup
|
|
hardware.sane = {
|
|
enable = true;
|
|
extraBackends = [pkgs.utsushi];
|
|
};
|
|
}
|