add gimp
This commit is contained in:
17
modules/home/programs/graphical/gimp/default.nix
Executable file
17
modules/home/programs/graphical/gimp/default.nix
Executable file
@@ -0,0 +1,17 @@
|
||||
{ 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; [
|
||||
gimp-with-plugins
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user