Remove GPU memory settings for monitor use

This commit is contained in:
coolneng 2019-10-15 00:12:22 +02:00
parent b607c25f55
commit 8fa91dabf1
1 changed files with 2 additions and 4 deletions

View File

@ -9,13 +9,10 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# A bunch of boot parameters needed for optimal runtime on RPi 3B # A bunch of boot parameters needed for optimal runtime on RPi 3B
boot.kernelParams = ["cma=256M"]; boot.kernelParams = ["cma=32M"];
boot.loader.raspberryPi.enable = true; boot.loader.raspberryPi.enable = true;
boot.loader.raspberryPi.version = 3; boot.loader.raspberryPi.version = 3;
boot.loader.raspberryPi.uboot.enable = true; boot.loader.raspberryPi.uboot.enable = true;
boot.loader.raspberryPi.firmwareConfig = ''
gpu_mem=256
'';
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
raspberrypi-tools raspberrypi-tools
]; ];
@ -33,4 +30,5 @@
# Configure basic SSH access # Configure basic SSH access
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.permitRootLogin = true;
} }