mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
25 lines
422 B
Nix
25 lines
422 B
Nix
{ config, 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 ];
|
|
};
|
|
}
|