mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-29 10:03:09 +01:00
14 lines
245 B
Nix
14 lines
245 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
let inherit (import ../../options.nix) printer; in
|
||
|
lib.mkIf (printer == true) {
|
||
|
services = {
|
||
|
printing.enable = true;
|
||
|
avahi = {
|
||
|
enable = true;
|
||
|
nssmdns4 = true;
|
||
|
openFirewall = true;
|
||
|
};
|
||
|
};
|
||
|
}
|