aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/xorg.nix
blob: e513c7461c72f76fb1cdf5ae14816e6207e29c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  services.displayManager.defaultSession = "xsession";
  services.xserver = {
    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";
  };
}