about summary refs log tree commit diff
path: root/hosts/commons/desktop/xserver.nix
blob: 753786363b2a3fe63f600ee2cf07db5ca13c951b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ config, pkgs, lib, ... }:

{
  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;
    };
  };
}