From 68dcd8768c72b8785242cc2f78785a07b5055a0b Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sat, 11 Oct 2025 22:08:09 -0700 Subject: [PATCH] feat: symlink fix, vn locale and tz --- modules/nixos/mewtris.nix | 14 ++++++++++++++ nixos/profiles/gaming/wine.nix | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/modules/nixos/mewtris.nix b/modules/nixos/mewtris.nix index 161dc9d8..c16e8698 100644 --- a/modules/nixos/mewtris.nix +++ b/modules/nixos/mewtris.nix @@ -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 '' diff --git a/nixos/profiles/gaming/wine.nix b/nixos/profiles/gaming/wine.nix index e0cd45c6..e8cca0ee 100644 --- a/nixos/profiles/gaming/wine.nix +++ b/nixos/profiles/gaming/wine.nix @@ -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 {