From 8fa91dabf18678c707c026f450e751792f8d05c8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 15 Oct 2019 00:12:22 +0200 Subject: [PATCH] Remove GPU memory settings for monitor use --- configuration.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 0e706ea..a2212d7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -9,13 +9,10 @@ boot.kernelPackages = pkgs.linuxPackages_latest; # 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.version = 3; boot.loader.raspberryPi.uboot.enable = true; - boot.loader.raspberryPi.firmwareConfig = '' - gpu_mem=256 - ''; environment.systemPackages = with pkgs; [ raspberrypi-tools ]; @@ -33,4 +30,5 @@ # Configure basic SSH access services.openssh.enable = true; + services.openssh.permitRootLogin = true; }