diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-13 11:30:06 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-13 11:30:06 -0800 |
commit | ed169135af3b36742deb0bca304bfb39425dc26d (patch) | |
tree | 547d718277c86e7e34ed4e4fd569454be2e47a55 /hosts | |
parent | hosts: install linux perf tools for the host (diff) | |
download | world-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')
-rw-r--r-- | hosts/common/desktop/xserver.nix | 14 |
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" }; }; |