summary refs log tree commit diff
path: root/nixos/modules/services/x11/unclutter.nix
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/unclutter.nix
parentb10659196b14358858c786749824956fac3a889d (diff)
downloadnixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.gz
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.bz2
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.lz
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.xz
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.tar.zst
nixpkgs-e8fff519476cb2b48f2afd497e3494b41faf3a27.zip
unclutter: prevent service restarting too soon
Diffstat (limited to 'nixos/modules/services/x11/unclutter.nix')
-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 65532c7a32b..3260fdb3d54 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";
     };
   };