From 4db5c014eb664a1831d8bd5de7717488f6098a18 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 7 Oct 2021 13:44:57 +0000 Subject: [PATCH] Increase timeout for display manager restart --- desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/desktop.nix b/desktop.nix index 4dbcbca..db161f3 100644 --- a/desktop.nix +++ b/desktop.nix @@ -4,6 +4,11 @@ let nonfree = import { config.allowUnfree = true; }; secrets = import ./secrets.nix; in { + systemd.services.display-manager.serviceConfig = { + StartLimitBurst = 16; + StartLimitIntervalSec = 4; + }; + services.xserver = { enable = true; layout = "us,ru"; # see also home-manager.nix