Unverified Commit 76d7ccec authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #313105 from bb2020/xserver

parents 39c0d9f5 51f84765
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -453,6 +453,8 @@ in
        description = "Contents of the first Monitor section of the X server configuration file.";
      };

      enableTearFree = mkEnableOption "the TearFree option in the first Device section";

      extraConfig = mkOption {
        type = types.lines;
        default = "";
@@ -810,6 +812,7 @@ in
          Section "Device"
            Identifier "Device-${driver.name}[0]"
            Driver "${driver.driverName or driver.name}"
          ${indent (optionalString cfg.enableTearFree ''Option "TearFree" "true"'')}
          ${indent cfg.deviceSection}
          ${indent (driver.deviceSection or "")}
          ${indent xrandrDeviceSection}