nix-config/system/services/printing.nix

14 lines
256 B
Nix
Raw Normal View History

2025-07-05 00:02:39 +02:00
{
lib,
config,
...
}:
with lib; let
cfg = config.system.services.printing;
in {
options.system.services.printing.enable = mkEnableOption "Enable printing with CUPS";
config.services.printing = mkIf cfg.enable {
inherit (cfg) enable;
};
}