From 024db330c80b3b1d2563b655f932aa42df23fa9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 17 Aug 2023 14:38:51 +0300 Subject: [PATCH] reduce gpu_mem to 96 https://forums.raspberrypi.com/viewtopic.php?t=285068#p1728536 --- hosts/vno1-rp3b/configuration.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index de19dc7..fe81eb5 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -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]))