mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: symlink fix, vn locale and tz
This commit is contained in:
parent
3700d3ac48
commit
68dcd8768c
2 changed files with 18 additions and 1 deletions
|
|
@ -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 ''
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue