config.nix/modules/apps/development/godot.nix

25 lines
330 B
Nix

{
config,
lib,
pkgs,
...
}:
{
options = {
apps.development = {
godot.enable = lib.mkEnableOption "enable godot";
};
};
config = {
environment.systemPackages =
if config.apps.development.godot.enable then
with pkgs;
[
godot
]
else
[ ];
};
}