From ed169135af3b36742deb0bca304bfb39425dc26d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 11:30:06 -0800 Subject: sway: first attempt at configuring sway Let's switch right away to sway instead, now that there's an emacs package to support wayland. --- hosts/common/desktop/xserver.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'hosts/common') diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix index 6532aaf..1935e06 100644 --- a/hosts/common/desktop/xserver.nix +++ b/hosts/common/desktop/xserver.nix @@ -4,20 +4,12 @@ services.xserver = { enable = true; layout = "us"; - xkbOptions = "eurosign:e,ctrl:swapcaps"; libinput.enable = true; - desktopManager = { - xterm.enable = false; - }; - displayManager = { - lightdm.enable = true; - defaultSession = "none+i3"; - }; - - windowManager = { - i3.enable = true; + gdm.enable = true; + gdm.wayland = true; + defaultSession = "sway" }; }; -- cgit 1.4.1