mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
15 lines
316 B
Nix
15 lines
316 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.services.printing.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.services.printing.enable {
|
|
services = {
|
|
printing.enable = true;
|
|
avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
}
|