!qol(restructure): heavy restructure

This commit is contained in:
2025-12-10 21:37:23 +00:00
parent b5c2089694
commit f1337d3edd
114 changed files with 2 additions and 360 deletions

View File

@@ -0,0 +1,3 @@
_: {
home = ./home.nix;
}

21
modules/unityhub/home.nix Normal file
View File

@@ -0,0 +1,21 @@
{
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
];
# so alcom can use it
file.".local/bin/unityhub".source = "${pkgs.unityhub}/bin/unityhub";
};
}