better package concatenation

This commit is contained in:
Danilo Reyes 2024-12-15 18:12:12 -06:00
parent c798603dfe
commit c820bac2e8

View File

@ -11,26 +11,28 @@
}; };
config = lib.mkIf config.my.apps.art.enable { config = lib.mkIf config.my.apps.art.enable {
users.users.jawz.packages = users.users.jawz.packages =
let builtins.attrValues {
gdPackages = builtins.attrValues { inherit (pkgs)
inherit (pkgs) gimp # the coolest bestest art program to never exist
godot_4 # game development krita # art to your heart desire!
gdtoolkit_4 # gdscript language server # mypaint # not the best art program
; # mypaint-brushes # but it's got some
}; # mypaint-brushes1 # nice damn brushes
packages = builtins.attrValues { blender # cgi animation and sculpting
inherit (pkgs) drawpile # arty party with friends!!
gimp # the coolest bestest art program to never exist pureref # create inspiration/reference boards
krita # art to your heart desire! ;
# mypaint # not the best art program }
# mypaint-brushes # but it's got some ++ (
# mypaint-brushes1 # nice damn brushes if config.my.dev.gameDev.enable then
blender # cgi animation and sculpting builtins.attrValues {
drawpile # arty party with friends!! inherit (pkgs)
pureref # create inspiration/reference boards godot_4 # game development
; gdtoolkit_4 # gdscript language server
}; ;
in }
packages ++ (if config.my.dev.gameDev.enable then gdPackages else [ ]); else
[ ]
);
}; };
} }