dacbert: add kernel patch

This commit is contained in:
Astro 2022-09-29 21:35:34 +02:00
parent f0b8dee7a5
commit 9abe7d875f
1 changed files with 15 additions and 1 deletions

View File

@ -76,12 +76,26 @@
trustedUsers = [ "client" ];
extraOptions = ''
builders-use-substitutes = true
extra-platforms = armv6l-linux armv7l-linux
extra-platforms = armv6l-linux
'';
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
settings.system-features = [];
};
# kernel 32bit personality patch from Ubuntu
boot.kernelPatches = [
rec {
name = "compat_uts_machine";
patch = pkgs.fetchpatch {
inherit name;
url = "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/patch/?id=c1da50fa6eddad313360249cadcd4905ac9f82ea";
sha256 = "sha256-mpq4YLhobWGs+TRKjIjoe5uDiYLVlimqWUCBGFH/zzU=";
};
}
];
boot.kernelParams = [
"compat_uts_machine=armv6l"
];
environment = {
gnome.excludePackages = with pkgs.gnome; [