diff options
| author | Mel <mel@rnrd.eu> | 2026-04-07 01:47:48 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-04-07 01:47:48 +0200 |
| commit | a7f0a80d370d591935db05a420010bdee7dac4b0 (patch) | |
| tree | 7a11c335e44a150507b9c249562ae4573f13d73c /machines/wolfram/devices.nix | |
| parent | 068ca4923b4def8885a49a7d54eae0909fadd498 (diff) | |
| download | minerals-a7f0a80d370d591935db05a420010bdee7dac4b0.tar.zst minerals-a7f0a80d370d591935db05a420010bdee7dac4b0.zip | |
Tweak Wine+Proton CPU topology for Intel i5-14400F
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/wolfram/devices.nix')
| -rw-r--r-- | machines/wolfram/devices.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/machines/wolfram/devices.nix b/machines/wolfram/devices.nix index 5a54681..3866465 100644 --- a/machines/wolfram/devices.nix +++ b/machines/wolfram/devices.nix @@ -120,4 +120,13 @@ pulse.enable = true; jack.enable = true; }; + + # other tweaks + environment.variables = { + # wine+proton reads this variable to decide which cpus to run a given + # application on. + # we choose our p-cores (and the hyperthreads) of the intel i5-14400f + # and let the e-cores handle all the other system tasks. + WINE_CPU_TOPOLOGY = "12:0,1,2,3,4,5,6,7,8,9,10,11"; + }; } |
