From 0fa5d0fa55bfba2936a7bbadccf36eb426b3072e Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 27 Sep 2023 14:59:46 -0400 Subject: Play around with enabling X server Would also want to consider raising CMA (dynamic GPU memory) --- hostnix/weebnix/boot/config.txt | 3 +++ hostnix/weebnix/configuration.nix | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'hostnix') diff --git a/hostnix/weebnix/boot/config.txt b/hostnix/weebnix/boot/config.txt index b407ad7..3541e27 100644 --- a/hostnix/weebnix/boot/config.txt +++ b/hostnix/weebnix/boot/config.txt @@ -34,3 +34,6 @@ enable_uart=1 # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel # when attempting to show low-voltage or overtemperature warnings. avoid_warnings=1 + +# Enable GPU. +dtoverlay=vc4-kms-v3d diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix index d0460bc..bb62b51 100644 --- a/hostnix/weebnix/configuration.nix +++ b/hostnix/weebnix/configuration.nix @@ -40,8 +40,12 @@ # useXkbConfig = true; # use xkbOptions in tty. # }; - # Enable the X11 windowing system. - # services.xserver.enable = true; + services.xserver = { + enable = true; + displayManager.lightdm.enable = true; + desktopManager.gnome.enable = true; + videoDrivers = [ "modesetting" "fbdev" ]; + }; -- cgit v1.3.1