MyNixOS website logo
option

services.autorandr.profiles

Autorandr profiles specification.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  "work" = {
    fingerprint = {
      eDP1 = "<edid>";
      DP1 = "<edid>";
    };
    config = {
      eDP1.enable = false;
      DP1 = {
        enable = true;
        crtc = 0;
        primary = true;
        position = "0x0";
        mode = "3840x2160";
        gamma = "1.0:0.909:0.833";
        rate = "60.00";
        rotate = "left";
      };
    };
    hooks.postswitch = readFile ./work-postswitch.sh;
  };
}
</edid></edid>