mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 05:29:42 +00:00
21 lines
445 B
Nix
21 lines
445 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.
|
|
'';
|
|
};
|
|
};
|
|
}
|