diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix b/infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix index cf7fb5f78d3d..dfb418af6ede 100644 --- a/infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix +++ b/infra/libkookie/nixpkgs/nixos/modules/services/misc/autorandr.nix @@ -37,9 +37,9 @@ in { description = "Autorandr execution hook"; after = [ "sleep.target" ]; + startLimitIntervalSec = 5; + startLimitBurst = 1; serviceConfig = { - StartLimitInterval = 5; - StartLimitBurst = 1; ExecStart = "${pkgs.autorandr}/bin/autorandr --batch --change --default ${cfg.defaultTarget}"; Type = "oneshot"; RemainAfterExit = false; |