summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2021-12-26 14:26:17 +0100
committerGitHub <noreply@github.com>2021-12-26 14:26:17 +0100
commit9541cc36e3dd65759968b7d6b9056682d786fe7d (patch)
treeb0c969a63870bd428eb25ebeba0b21ed73259bf7
parentMerge pull request #152187 from NixOS/backport-152010-to-release-21.11 (diff)
parentlinux_xanmod: remove duplicate android kernel options (diff)
downloadnixpkgs-9541cc36e3dd65759968b7d6b9056682d786fe7d.tar.gz
Merge pull request #152143 from NixOS/backport-152122-to-release-21.11
-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 8b95e912b029..285abe19ff6b 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 = {