Skip to content

Commit

Permalink
nixos/xserver: increase autorandr.service startLimitBurst
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 12, 2023
1 parent b10b4e8 commit c7f86aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/desktop/xserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
};

services = {
# Enable autorandr service, i.e.: sleep.target
autorandr.enable = true;

xserver = {
Expand All @@ -37,5 +38,9 @@
};
};
};

# Try at least 3 times before considering the service failed
# Default is 1
systemd.services.autorandr.startLimitBurst = lib.mkForce 3;
};
}

0 comments on commit c7f86aa

Please sign in to comment.