mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-26 00:23:10 +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;
|
|
};
|
|
};
|
|
}
|