2020-01-12 23:11:02 -08:00
|
|
|
# modules/dev/unity3d.nix --- https://unity.com
|
|
|
|
#
|
|
|
|
# I don't use Unity often, but when I do, it's in a team or with students.
|
2020-01-12 15:27:51 -08:00
|
|
|
|
2020-04-06 20:28:26 -07:00
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
2020-01-12 15:27:51 -08:00
|
|
|
{
|
2020-04-06 20:28:26 -07:00
|
|
|
options.modules.dev.unity3d = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.modules.dev.unity3d.enable {
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
unity3d
|
|
|
|
];
|
|
|
|
};
|
2020-01-12 15:27:51 -08:00
|
|
|
}
|