26 lines
384 B
Nix
26 lines
384 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.features.desktop.design;
|
|
in {
|
|
options.features.desktop.design.enable = mkEnableOption "enable design tools";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
argyllcms
|
|
cyan
|
|
gimp
|
|
gimpPlugins.gmic
|
|
gmic
|
|
gmic-qt
|
|
imagemagick
|
|
inkscape
|
|
lcms2
|
|
];
|
|
};
|
|
}
|