2020-01-12 23:11:02 -08:00
|
|
|
# modules/dev/godot.nix --- https://godotengine.org/
|
|
|
|
#
|
|
|
|
# Gamedev is my hobby. C++ or Rust are my main drivers (and occasionally Lua),
|
|
|
|
# but to prototype (for 3D, mainly) I'll occasionally reach for godot.
|
2020-01-03 21:14:32 -08:00
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
2020-01-03 21:14:32 -08:00
|
|
|
{
|
2020-03-28 22:48:43 -07:00
|
|
|
options.modules.dev.godot = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.modules.dev.godot.enable {
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
godot
|
|
|
|
];
|
|
|
|
};
|
2020-01-03 21:14:32 -08:00
|
|
|
}
|