best practices: get rid of with pkgs;

This commit is contained in:
2024-11-09 15:33:03 -06:00
parent ebcab67a6a
commit 120d485f28
33 changed files with 418 additions and 317 deletions

View File

@@ -11,25 +11,26 @@
};
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!!
pureref # create inspiration/reference boards
])
++ (
if config.my.dev.gameDev.enable then
with pkgs;
[
let
gdPackages = builtins.attrValues {
inherit (pkgs)
godot_4 # game development
gdtoolkit_4 # gdscript language server
]
else
[ ]
);
;
};
packages = builtins.attrValues {
inherit (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!!
pureref # create inspiration/reference boards
;
};
in
packages ++ (if config.my.dev.gameDev.enable then gdPackages else [ ]);
};
}