2023-10-19 20:58:15 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.sisyphus.services.printing;
|
|
|
|
in {
|
|
|
|
options.sisyphus.services.printing.enable = lib.mkEnableOption "Printing";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services = {
|
|
|
|
printing.enable = true;
|
|
|
|
avahi = {
|
|
|
|
enable = true;
|
2024-10-24 15:28:36 +02:00
|
|
|
nssmdns4 = true;
|
2023-10-19 20:58:15 +02:00
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|