From 2e2e76c06c90ad935f282be8b7eafe8bef889e8d Mon Sep 17 00:00:00 2001 From: twoneis Date: Sun, 21 Jul 2024 04:48:56 +0200 Subject: [PATCH] lower restart timeout --- modules/niri/xwl-satellite.service.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/niri/xwl-satellite.service.nix b/modules/niri/xwl-satellite.service.nix index 8a5b947..a41ccb1 100644 --- a/modules/niri/xwl-satellite.service.nix +++ b/modules/niri/xwl-satellite.service.nix @@ -1,6 +1,6 @@ { lib, config, pkgs, ... }: lib.mkIf config.withNiri { environment.systemPackages = with pkgs; [ xwayland-satellite xwayland ]; - systemd.services.xwayland-satellite = { + systemd.user.services.xwayland-satellite = { description = "Xwayland outside your Wayland"; wantedBy = [ "graphical-session.target" ]; @@ -16,7 +16,7 @@ StandardOutput = "journal"; Restart = "on-failure"; - RestartSec = "5s"; + RestartSec = "2s"; }; }; }