reduce gpu_mem to 96

https://forums.raspberrypi.com/viewtopic.php?t=285068#p1728536
This commit is contained in:
Motiejus Jakštys 2023-08-17 14:38:51 +03:00
parent d84cf8a396
commit 024db330c8

View File

@ -17,6 +17,14 @@
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelModules = [];
boot.extraModulePackages = [];
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.raspberryPi.firmwareConfig = ''
dtparam=audio=on
gpu_mem=96
'';
powerManagement.cpuFreqGovernor = "ondemand";
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
@ -105,15 +113,6 @@
};
};
powerManagement.cpuFreqGovernor = "ondemand";
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.raspberryPi.firmwareConfig = ''
dtparam=audio=on
'';
environment.systemPackages = with pkgs; [
libraspberrypi
(kodi.passthru.withPackages (kodiPkgs: [kodiPkgs.youtube]))