helm/modules/desktop/apps/unity3d.nix

21 lines
408 B
Nix
Raw Normal View History

# 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, ... }:
2020-04-06 20:28:26 -07:00
with lib;
with lib.my;
let cfg = config.modules.desktop.apps.unity3d;
in {
options.modules.desktop.apps.unity3d = {
enable = mkBoolOpt false;
2020-04-06 20:28:26 -07:00
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
2020-04-06 20:28:26 -07:00
unity3d
];
};
2020-01-12 15:27:51 -08:00
}