aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/xorg.nix
blob: ebca5ea263df00e3542e289ff093712fee9bb271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  services.xserver = {
    displayManager.defaultSession = "xsession";
    displayManager.lightdm = {
      enable = true;
      extraSeatDefaults = ''greeter-hide-users=true'';
    };
    displayManager.session = [
      {
        manage = "desktop";
        name = "xsession";
        start = ''exec $HOME/.xsession'';
      }
    ];
    enable = true;
    libinput.enable = true;
    videoDrivers = [ "amdgpu" ];
    xkb.layout = "us";
    xkb.options = "caps:super,compose:ralt";
  };
}