summary refs log tree commit diff
path: root/nixos/modules/services/x11
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2016-05-09 23:27:58 +0200
committerrnhmjoj <micheleguerinirocco@me.com>2016-05-09 23:28:30 +0200
commite8fff519476cb2b48f2afd497e3494b41faf3a27 (patch)
tree80cc96a64fce22758a94c5413851484fce88661f /nixos/modules/services/x11
parentb10659196b14358858c786749824956fac3a889d (diff)
downloadnixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.gz
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.bz2
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.lz
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.xz
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.zst
nixlib-e8fff519476cb2b48f2afd497e3494b41faf3a27.zip
unclutter: prevent service restarting too soon
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r--nixos/modules/services/x11/unclutter.nix1
1 files changed, 1 insertions, 0 deletions
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";
     };
   };