about summary refs log tree commit diff
path: root/modules/desktop/xserver.nix
blob: 894b39b62f491493f70fc3c9d8934a3e08aca6e8 (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
24
25
26
{ config, pkgs, lib, ... }:

{
  services.xserver = {
    enable = true;
    layout = "us";
    xkbOptions = "eurosign:e";
    libinput.enable = true;

    desktopManager = {
      xterm.enable = false;
    };

    displayManager = {
      lightdm.enable = true;
      defaultSession = "none+i3";
    };

    windowManager = {
      i3.enable = true;
    };
  };

  services.gnome.gnome-keyring.enable = true;
  services.gvfs.enable = true;
}