36 lines
936 B
Nix
36 lines
936 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
options.my = {
|
|
apps.art.enable = lib.mkEnableOption "enable";
|
|
dev.gameDev.enable = lib.mkEnableOption "enable";
|
|
};
|
|
config = lib.mkIf config.my.apps.art.enable {
|
|
users.users.jawz.packages =
|
|
(with pkgs; [
|
|
gimp # the coolest bestest art program to never exist
|
|
krita # art to your heart desire!
|
|
# mypaint # not the best art program
|
|
# mypaint-brushes # but it's got some
|
|
# mypaint-brushes1 # nice damn brushes
|
|
blender # cgi animation and sculpting
|
|
drawpile # arty party with friends!!
|
|
(callPackage ../../pkgs/pureref/default.nix { }) # create inspiration/reference boards
|
|
])
|
|
++ (
|
|
if config.my.dev.gameDev.enable then
|
|
with pkgs;
|
|
[
|
|
godot_4 # game development
|
|
gdtoolkit_4 # gdscript language server
|
|
]
|
|
else
|
|
[ ]
|
|
);
|
|
};
|
|
}
|