use extlinux

This commit is contained in:
Sense T 2023-07-22 12:03:26 +00:00
parent 891c9f1ba2
commit 1245de6fbb

View File

@ -8,8 +8,7 @@
boot = { boot = {
tmp.cleanOnBoot = true; tmp.cleanOnBoot = true;
kernelModules = [ "cma=256M" ]; kernelPackages = pkgs.linuxPackages_rpi;
extraModulePackages = [ ];
loader = { loader = {
grub = { grub = {
@ -17,20 +16,12 @@
enable = false; enable = false;
}; };
raspberryPi = { generic-extlinux-compatible = {
enable = true;
version = 3;
firmwareConfig = ''
gpu_mem=256
'';
uboot = {
enable = true; enable = true;
configurationLimit = 10; configurationLimit = 10;
}; };
}; };
}; };
};
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
@ -57,6 +48,7 @@
swapDevices = [ swapDevices = [
{ {
device = "/swapfile"; device = "/swapfile";
size = 1024;
} }
]; ];