mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29: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") {
|
(mkIf (config.runner == "wine") {
|
||||||
startLine = pkgs.writeShellScript "${config.name}" ''
|
startLine = pkgs.writeShellScript "${config.name}" ''
|
||||||
|
export PATH="$PATH:${lib.makeBinPath (with pkgs; [
|
||||||
|
coreutils
|
||||||
|
umu-launcher
|
||||||
|
mangohud
|
||||||
|
vkbasalt
|
||||||
|
wine-tkg
|
||||||
|
])}"
|
||||||
${cfg.globalPrerun}
|
${cfg.globalPrerun}
|
||||||
${config.prerun}
|
${config.prerun}
|
||||||
${optionalString (config.gameFolder != null) ''
|
${optionalString (config.gameFolder != null) ''
|
||||||
|
|
@ -163,6 +170,13 @@
|
||||||
protonLauncher = getExe' cfg.umuLauncher "umu-run";
|
protonLauncher = getExe' cfg.umuLauncher "umu-run";
|
||||||
in
|
in
|
||||||
pkgs.writeShellScript "${config.name}" ''
|
pkgs.writeShellScript "${config.name}" ''
|
||||||
|
export PATH="$PATH:${lib.makeBinPath (with pkgs; [
|
||||||
|
coreutils
|
||||||
|
umu-launcher
|
||||||
|
mangohud
|
||||||
|
vkbasalt
|
||||||
|
wine-tkg
|
||||||
|
])}"
|
||||||
${cfg.globalPrerun}
|
${cfg.globalPrerun}
|
||||||
${config.prerun}
|
${config.prerun}
|
||||||
${optionalString config.battleNetGame ''
|
${optionalString config.battleNetGame ''
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ in {
|
||||||
};
|
};
|
||||||
proton = {
|
proton = {
|
||||||
PROTON_USE_NTSYNC = builtins.toString 1;
|
PROTON_USE_NTSYNC = builtins.toString 1;
|
||||||
|
PRESSURE_VESSEL_FILESYSTEMS_RW = "/games";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
winTimezoneVariant = "PST8PDT";
|
winTimezoneVariant = "PST8PDT";
|
||||||
|
|
@ -93,7 +94,7 @@ in {
|
||||||
}: (protonCommon
|
}: (protonCommon
|
||||||
// rec {
|
// rec {
|
||||||
inherit long_name;
|
inherit long_name;
|
||||||
battleNetGame = true;
|
battleNetGame = false;
|
||||||
prefixFolder = gameStorage + "/battlenet";
|
prefixFolder = gameStorage + "/battlenet";
|
||||||
gameFolder = prefixFolder + "/drive_c/Program Files (x86)/Battle.net";
|
gameFolder = prefixFolder + "/drive_c/Program Files (x86)/Battle.net";
|
||||||
gameExecutable = gameFolder + "/Battle.net.exe";
|
gameExecutable = gameFolder + "/Battle.net.exe";
|
||||||
|
|
@ -121,6 +122,8 @@ in {
|
||||||
VN_DIR = vnDir;
|
VN_DIR = vnDir;
|
||||||
VN_EXE = vnExe;
|
VN_EXE = vnExe;
|
||||||
VN_ARCH = vnArch;
|
VN_ARCH = vnArch;
|
||||||
|
TZ = "Asia/Tokyo";
|
||||||
|
LC_ALL = "ja_JP.UTF-8";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue