boron: support sched_ext in kernel
All checks were successful
flake / flake (push) Successful in 1m14s
All checks were successful
flake / flake (push) Successful in 1m14s
This commit is contained in:
parent
6cc70e117d
commit
8d5f587566
@ -35,6 +35,19 @@
|
||||
### kernels available in NixOS do not seem to support this server's very
|
||||
### modern hardware.
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_10;
|
||||
### Apply patch to enable sched_ext which isn't yet available upstream.
|
||||
boot.kernelPatches = [{
|
||||
name = "sched_ext";
|
||||
patch = pkgs.fetchpatch {
|
||||
url = "https://github.com/sched-ext/scx-kernel-releases/releases/download/v6.10.3-scx1/linux-v6.10.3-scx1.patch.zst";
|
||||
hash = "sha256-Fb9+Sns0sZAqJirAEArzda1Com0psHDuuri88g34o3g=";
|
||||
decode = "${pkgs.zstd}/bin/unzstd";
|
||||
excludes = [ "Makefile" ];
|
||||
};
|
||||
extraConfig = ''
|
||||
EXTRAVERSION=-scx1
|
||||
'';
|
||||
}];
|
||||
|
||||
## Enable btrfs compression
|
||||
fileSystems."/data".options = [ "compress=zstd" ];
|
||||
|
Loading…
Reference in New Issue
Block a user