summaryrefslogtreecommitdiff
path: root/hostnix/weebnix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2023-09-27 15:03:12 -0400
committerJoe Mou <dev@mou.fo>2023-09-27 15:12:41 -0400
commit2d0df6b8bb43953a8ff1bb3211257ee8e09d11f9 (patch)
tree8165d20e72ea9640c4bba67ac0f1e97561807b39 /hostnix/weebnix
parent0fa5d0fa55bfba2936a7bbadccf36eb426b3072e (diff)
Disable X server and GPU
Note disabling environment.noXlibs causes many cache misses.
Diffstat (limited to 'hostnix/weebnix')
-rw-r--r--hostnix/weebnix/boot/config.txt3
-rw-r--r--hostnix/weebnix/configuration.nix20
2 files changed, 0 insertions, 23 deletions
diff --git a/hostnix/weebnix/boot/config.txt b/hostnix/weebnix/boot/config.txt
index 3541e27..b407ad7 100644
--- a/hostnix/weebnix/boot/config.txt
+++ b/hostnix/weebnix/boot/config.txt
@@ -34,6 +34,3 @@ 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 bb62b51..b8871da 100644
--- a/hostnix/weebnix/configuration.nix
+++ b/hostnix/weebnix/configuration.nix
@@ -40,30 +40,10 @@
# useXkbConfig = true; # use xkbOptions in tty.
# };
- services.xserver = {
- enable = true;
- displayManager.lightdm.enable = true;
- desktopManager.gnome.enable = true;
- videoDrivers = [ "modesetting" "fbdev" ];
- };
-
-
-
-
- # Configure keymap in X11
- # services.xserver.layout = "us";
- # services.xserver.xkbOptions = "eurosign:e,caps:escape";
-
- # Enable CUPS to print documents.
- # services.printing.enable = true;
-
# Enable sound.
# sound.enable = true;
# hardware.pulseaudio.enable = true;
- # Enable touchpad support (enabled default in most desktopManager).
- # services.xserver.libinput.enable = true;
-
security.sudo.wheelNeedsPassword = false;
users.users.joe = {