nixdots/options/workstation/default.nix
2024-07-27 01:07:07 +02:00

25 lines
451 B
Nix

{
lib,
config,
...
}:
with lib; let
inherit (lib) mkEnableOption mkOption literalExpression types;
cfg = config.myOptions.workstation;
in {
options.myOptions.workstation = {
printing = {
enable = mkEnableOption ''
printing support using cups.
Also adds some drivers for common printers.
'';
hplip.enable = mkEnableOption ''
HP printing support using hplip software.
'';
};
};
}