25 lines
365 B
Nix
Executable File
25 lines
365 B
Nix
Executable File
{ pkgs
|
|
, lib
|
|
, config
|
|
, namespace
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
cfg = config.${namespace}.programs.graphical.gimp;
|
|
in
|
|
{
|
|
options.${namespace}.programs.graphical.gimp = {
|
|
enable = mkEnableOption "GIMP";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
darktable
|
|
gimp-with-plugins
|
|
gthumb
|
|
];
|
|
};
|
|
}
|