From e8fff519476cb2b48f2afd497e3494b41faf3a27 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 9 May 2016 23:27:58 +0200 Subject: unclutter: prevent service restarting too soon --- nixos/modules/services/x11/unclutter.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules/services/x11') diff --git a/nixos/modules/services/x11/unclutter.nix b/nixos/modules/services/x11/unclutter.nix index 65532c7a32b9..3260fdb3d54d 100644 --- a/nixos/modules/services/x11/unclutter.nix +++ b/nixos/modules/services/x11/unclutter.nix @@ -73,6 +73,7 @@ in { ${concatMapStrings (x: " -"+x) cfg.extraOptions} \ -not ${concatStringsSep " " cfg.excluded} \ ''; + serviceConfig.RestartSec = 3; serviceConfig.Restart = "always"; }; }; -- cgit 1.4.1