summary refs log tree commit diff
path: root/machines/wolfram
diff options
context:
space:
mode:
Diffstat (limited to 'machines/wolfram')
-rw-r--r--machines/wolfram/devices.nix9
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";
+  };
 }