Skip to content

Commit 57e2d83

Browse files
committedMar 18, 2025
linuxKernel.kernels.linux_lqx: sync kernel settings with upstream package
1 parent 4dccd2e commit 57e2d83

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎pkgs/os-specific/linux/kernel/zen-kernels.nix

+11-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let
4949

5050
# This is based on the following sources:
5151
# - zen: https://gitlab.archlinux.org/archlinux/packaging/packages/linux-zen/-/blob/main/config
52-
# - lqx: https://github.com/damentz/liquorix-package/blob/6.8/master/linux-liquorix/debian/config/kernelarch-x86/config-arch-64
52+
# - lqx: https://github.com/damentz/liquorix-package/blob/6.13/master/linux-liquorix/debian/config/kernelarch-x86/config-arch-64
5353
# - Liquorix features: https://liquorix.net/
5454
# The list below is not exhaustive, so the kernels probably doesn't match
5555
# the upstream, but should bring most of the improvements that will be
@@ -103,6 +103,9 @@ let
103103

104104
}
105105
// lib.optionalAttrs (isLqx) {
106+
# https://github.com/damentz/liquorix-package/commit/07b176edc002f2a7825ae181613e1f79a3650fd2
107+
CMDLINE = freeform "audit=0 intel_pstate=disable amd_pstate=disable ";
108+
106109
# Google's BBRv3 TCP congestion Control
107110
TCP_CONG_BBR = yes;
108111
DEFAULT_BBR = yes;
@@ -115,6 +118,13 @@ let
115118
RCU_BOOST = no;
116119
RCU_LAZY = lib.mkOverride 60 no;
117120

121+
# https://github.com/damentz/liquorix-package/commit/3a82381a4db3452599e2b2a607046a379c72ad27
122+
SLAB_BUCKETS = lib.mkForce (option no);
123+
# https://github.com/damentz/liquorix-package/commit/ca7efe07abd478f3f4cbe0725a3383fd235aa5be
124+
ENERGY_MODE = lib.mkForce (option no);
125+
# https://github.com/damentz/liquorix-package/commit/fdc93f5633d22c26f0994fba751a26de0cb51a17
126+
WQ_POWER_EFFICIENT_DEFAULT = lib.mkForce (option no);
127+
118128
# Swap storage is compressed with LZ4 using zswap
119129
ZSWAP_COMPRESSOR_DEFAULT_LZ4 = lib.mkOptionDefault yes;
120130
ZSWAP_COMPRESSOR_DEFAULT_ZSTD = lib.mkDefault no;

0 commit comments

Comments
 (0)
Failed to load comments.