mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
32 lines
440 B
Nix
32 lines
440 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
services.printing = {
|
|
enable = true;
|
|
drivers = [
|
|
pkgs.cnijfilter2
|
|
pkgs.gutenprint
|
|
pkgs.gutenprintBin
|
|
];
|
|
};
|
|
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
openFirewall = true;
|
|
publish = {
|
|
enable = true;
|
|
addresses = true;
|
|
userServices = true;
|
|
};
|
|
};
|
|
|
|
hardware.sane = {
|
|
enable = true;
|
|
extraBackends = [ pkgs.sane-airscan ];
|
|
};
|
|
}
|