services.xserver.resolutions

NixOS option

The screen resolutions for the X server. The first element is the default resolution. If this list is empty, the X server will automatically configure the resolution.

type: list of (attribute set)
Default
[ ]
Example
[
  {
    x = 1600;
    y = 1200;
  }
  {
    x = 1024;
    y = 786;
  }
]
declared in: nixos/modules/services/x11/xserver.nixView source on NixOS/nixpkgs →