pi stufF
This commit is contained in:
@@ -10,10 +10,27 @@
|
|||||||
# bootloader = "kernel";
|
# bootloader = "kernel";
|
||||||
# firmwarePackage = pkgs.raspberrypifw;
|
# firmwarePackage = pkgs.raspberrypifw;
|
||||||
# };
|
# };
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_pi5-16k;
|
||||||
#supportedFilesystems = lib.mkForce [ ];
|
#supportedFilesystems = lib.mkForce [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
overlays = [
|
||||||
|
(self: super: {
|
||||||
|
linuxPackages_pi5-16k = pkgs.linuxPackagesFor (pkgs.linux_6_18.override {
|
||||||
|
structuredExtraConfig = with lib.kernel; {
|
||||||
|
CONFIG_ARM64_4K_PAGES = lib.mkForce no;
|
||||||
|
CONFIG_ARM64_64K_PAGES = lib.mkForce no;
|
||||||
|
CONFIG_ARM64_16K_PAGES = lib.mkForce yes;
|
||||||
|
CONFIG_OF_CONFIGFS = yes;
|
||||||
|
CONFIG_OF_CONFIGFS = yes;
|
||||||
|
CONFIG_OF_OVERLAY = yes;
|
||||||
|
};
|
||||||
|
ignoreConfigErrors = true;
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
specialisation = {
|
specialisation = {
|
||||||
"linux-rpi".configuration = {
|
"linux-rpi".configuration = {
|
||||||
|
|||||||
Reference in New Issue
Block a user