2024-05-25 23:51:37 +02:00
|
|
|
{ config, lib, ... }:
|
2024-05-25 01:32:48 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
2024-05-27 22:40:30 +02:00
|
|
|
cfg = config.modules.system.hardware.printing;
|
2024-05-25 01:32:48 +02:00
|
|
|
in
|
|
|
|
{
|
2024-05-27 22:40:30 +02:00
|
|
|
options.modules.system.hardware.printing = {
|
2024-05-25 01:32:48 +02:00
|
|
|
enable = mkEnableOption ''
|
|
|
|
Enable printing with my custom configurations
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.printing.enable = true;
|
|
|
|
};
|
|
|
|
}
|