feat(printing): add enable option

This commit is contained in:
2026-05-22 20:20:16 +02:00
parent c95913027a
commit a7ad2b141e

View File

@@ -1,15 +1,9 @@
{
# services.avahi = {
# enable = true;
# nssmdns4 = true;
# openFirewall = true;
# };
{ lib, config, ... }:
services.printing = {
enable = true;
# drivers = with pkgs; [
# cups-filters
# cups-browsed
# ];
{
options.printing.enable = lib.mkEnableOption "printing";
config = lib.mkIf config.printing.enable {
services.printing.enable = true;
};
}