From 1d1c0e97d6b97aec43ea0ad0934a5084dc2ce162 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 24 Feb 2022 19:06:35 -0800 Subject: xserver: drop it completely Let's remove this, I was only using it to get GDM running, but that's causing a bunch of issues so far: - not all environment variables are loaded correctly - some units are not loaded in time When trying to use xorg and i3, I have way too many tears and I can't figure out a proper configuration. To make it easier, I'm going to keep sway and start `sway` from `tty1` directly. --- hosts/common/desktop/xserver.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix index 1b707dc..db7d457 100644 --- a/hosts/common/desktop/xserver.nix +++ b/hosts/common/desktop/xserver.nix @@ -17,20 +17,6 @@ ''; }; - services.xserver = { - enable = true; - layout = "us"; - libinput = { - enable = true; - touchpad.naturalScrolling = true; - }; - displayManager = { - gdm.enable = true; - gdm.wayland = true; - defaultSession = "sway"; - }; - }; - services = { dbus = { enable = true; -- cgit 1.4.1