about summary refs log tree commit diff
path: root/hosts/common/desktop/xserver.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 11:30:06 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 11:30:06 -0800
commited169135af3b36742deb0bca304bfb39425dc26d (patch)
tree547d718277c86e7e34ed4e4fd569454be2e47a55 /hosts/common/desktop/xserver.nix
parenthosts: install linux perf tools for the host (diff)
downloadworld-ed169135af3b36742deb0bca304bfb39425dc26d.tar.gz
sway: first attempt at configuring sway
Let's switch right away to sway instead, now that there's an emacs
package to support wayland.
Diffstat (limited to 'hosts/common/desktop/xserver.nix')
-rw-r--r--hosts/common/desktop/xserver.nix14
1 files changed, 3 insertions, 11 deletions
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"
     };
   };