nixdots/options/workstation/default.nix

25 lines
451 B
Nix
Raw Normal View History

2024-07-26 23:07:07 +00:00
{
lib,
config,
...
}:
with lib; let
2024-04-13 18:10:01 +00:00
inherit (lib) mkEnableOption mkOption literalExpression types;
cfg = config.myOptions.workstation;
2024-07-26 23:07:07 +00:00
in {
2024-04-13 18:10:01 +00:00
options.myOptions.workstation = {
printing = {
enable = mkEnableOption ''
printing support using cups.
Also adds some drivers for common printers.
'';
2024-06-19 17:22:02 +00:00
hplip.enable = mkEnableOption ''
HP printing support using hplip software.
'';
2024-04-13 18:10:01 +00:00
};
};
}