imnyang/nix-flakes
Watch
1
0
Fork
You've already forked nix-flakes
0
This commit is contained in:
암냥 2026-10-04 12:59:42 +09:00
commit ef437d5b15
No known key found for this signature in database
18 changed files with 222 additions and 86 deletions

29
modules/home/alcom.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
let
alcomFhs = pkgs.symlinkJoin {
name = "alcom-fhs";
paths = [
pkgs.alcom
];
postBuild = ''
rm -f "$out/bin/ALCOM"
cat > "$out/bin/ALCOM" <<'EOF'
#!${pkgs.runtimeShell}
exec ${pkgs.unityhub.fhsEnv}/bin/unityhub-fhs-env \
${pkgs.alcom}/bin/ALCOM "$@"
EOF
chmod +x "$out/bin/ALCOM"
'';
};
in
{
home.packages = [
pkgs.unityhub
alcomFhs
];
}