fixed(unityhub@modules): actual config now

This commit is contained in:
2025-10-17 13:21:59 +01:00
parent 8fd6c8df14
commit 6ec565a7d7

View File

@@ -1,8 +1,21 @@
{ pkgs, ... }:
{ {
home.packages = with pkgs; [ pkgs,
lib,
config,
...
}:
let
cfg = config.modules.unityhub;
in
{
options.modules.unityhub = {
enable = lib.mkEnableOption "unity";
};
config.home = lib.mkIf cfg.enable {
packages = with pkgs; [
unityhub unityhub
]; ];
# so alcom can use it # so alcom can use it
home.file.".local/bin/unityhub".source = "${pkgs.unityhub}/bin/unityhub"; file.".local/bin/unityhub".source = "${pkgs.unityhub}/bin/unityhub";
};
} }