feat: symlink fix, vn locale and tz

This commit is contained in:
Kat Inskip 2025-10-11 22:08:09 -07:00
parent 3700d3ac48
commit 68dcd8768c
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 18 additions and 1 deletions

View file

@ -143,6 +143,13 @@
}
(mkIf (config.runner == "wine") {
startLine = pkgs.writeShellScript "${config.name}" ''
export PATH="$PATH:${lib.makeBinPath (with pkgs; [
coreutils
umu-launcher
mangohud
vkbasalt
wine-tkg
])}"
${cfg.globalPrerun}
${config.prerun}
${optionalString (config.gameFolder != null) ''
@ -163,6 +170,13 @@
protonLauncher = getExe' cfg.umuLauncher "umu-run";
in
pkgs.writeShellScript "${config.name}" ''
export PATH="$PATH:${lib.makeBinPath (with pkgs; [
coreutils
umu-launcher
mangohud
vkbasalt
wine-tkg
])}"
${cfg.globalPrerun}
${config.prerun}
${optionalString config.battleNetGame ''

View file

@ -63,6 +63,7 @@ in {
};
proton = {
PROTON_USE_NTSYNC = builtins.toString 1;
PRESSURE_VESSEL_FILESYSTEMS_RW = "/games";
};
};
winTimezoneVariant = "PST8PDT";
@ -93,7 +94,7 @@ in {
}: (protonCommon
// rec {
inherit long_name;
battleNetGame = true;
battleNetGame = false;
prefixFolder = gameStorage + "/battlenet";
gameFolder = prefixFolder + "/drive_c/Program Files (x86)/Battle.net";
gameExecutable = gameFolder + "/Battle.net.exe";
@ -121,6 +122,8 @@ in {
VN_DIR = vnDir;
VN_EXE = vnExe;
VN_ARCH = vnArch;
TZ = "Asia/Tokyo";
LC_ALL = "ja_JP.UTF-8";
};
});
in {