mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 10:26:52 +01:00
22 lines
359 B
Nix
22 lines
359 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.printing = {
|
|
enable = true;
|
|
webInterface = true;
|
|
drivers = with pkgs; [ hplipWithPlugin ];
|
|
};
|
|
|
|
hardware = {
|
|
sane = {
|
|
enable = true;
|
|
extraBackends = with pkgs; [ sane-airscan hplipWithPlugin ];
|
|
};
|
|
};
|
|
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns = true;
|
|
openFirewall = true;
|
|
};
|
|
}
|