2024-10-28 00:17:05 +01:00
|
|
|
{pkgs, ...}: {
|
2024-01-15 16:29:44 +01:00
|
|
|
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-357+EzMLLt7IINdH0ENE+VcDXwXJMo4qiF/Dorp2Eyw=";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
boot.kernelParams = [
|
|
|
|
"compat_uts_machine=armv7l"
|
|
|
|
];
|
|
|
|
nix.settings.extra-platforms = "armv7l-linux";
|
|
|
|
}
|