16 lines
No EOL
306 B
Nix
16 lines
No EOL
306 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.system.hardware.printing;
|
|
in
|
|
{
|
|
options.modules.system.hardware.printing = {
|
|
enable = mkEnableOption ''
|
|
Enable printing with my custom configurations
|
|
'';
|
|
};
|
|
config = mkIf cfg.enable {
|
|
services.printing.enable = true;
|
|
};
|
|
} |