summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-12-26 02:13:12 +0800
committerfortuneteller2k <lythe1107@gmail.com>2021-12-26 04:58:32 +0800
commitde06c5e8e8191c7ba837da6ce45fc81080640778 (patch)
tree21b88f18ee998b24e58dd35ee3e39d1524dfb1d4 /pkgs/os-specific
parent276bd41027b63c9c712c56da3e99f6ebc9b3c31e (diff)
linux_xanmod: remove duplicate android kernel options
and enable WINESYNC in kernel config
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/linux-xanmod.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-xanmod.nix b/pkgs/os-specific/linux/kernel/linux-xanmod.nix
index dac882d9cd3e..9740615a3311 100644
--- a/pkgs/os-specific/linux/kernel/linux-xanmod.nix
+++ b/pkgs/os-specific/linux/kernel/linux-xanmod.nix
@@ -51,16 +51,12 @@ buildLinux (args // rec {
# Graysky's additional CPU optimizations
CC_OPTIMIZE_FOR_PERFORMANCE_O3 = yes;
- # Android Ashmem and Binder IPC Driver as module for Anbox
- ASHMEM = module;
- ANDROID = yes;
- ANDROID_BINDER_IPC = module;
- ANDROID_BINDERFS = module;
- ANDROID_BINDER_DEVICES = freeform "binder,hwbinder,vndbinder";
-
# Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync.
FUTEX = yes;
FUTEX_PI = yes;
+
+ # WineSync driver for fast kernel-backed Wine
+ WINESYNC = module;
};
extraMeta = {