add unityhub
This commit is contained in:
parent
020ab0e16d
commit
be2f33a9cf
3 changed files with 18 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
|||
javascript.enable = true;
|
||||
python.enable = true;
|
||||
rust.enable = true;
|
||||
unityhub.enable = true;
|
||||
projects = {
|
||||
sakoEngine.enable = true;
|
||||
};
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
./python.nix
|
||||
./rust.nix
|
||||
./projects
|
||||
./unityhub.nix
|
||||
];
|
||||
}
|
||||
|
|
16
modules/dev/unityhub.nix
Normal file
16
modules/dev/unityhub.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.dev.unity;
|
||||
in
|
||||
{
|
||||
options.modules.dev.unity = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
unityhub
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue