nix-config/system/services/printing.nix

14 lines
260 B
Nix
Raw Normal View History

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