some refactoring and modularizing locale
This commit is contained in:
18
modules/nixos/studio/gimp/default.nix
Normal file
18
modules/nixos/studio/gimp/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.studio.gimp;
|
||||
in {
|
||||
options = {
|
||||
nixos.studio.gimp.enable = mkEnableOption "Enables gimp";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.gimp-with-plugins
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user