lower restart timeout

This commit is contained in:
twoneis 2024-07-21 04:48:56 +02:00
parent f5f33163f7
commit 2e2e76c06c

View file

@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }: lib.mkIf config.withNiri { { lib, config, pkgs, ... }: lib.mkIf config.withNiri {
environment.systemPackages = with pkgs; [ xwayland-satellite xwayland ]; environment.systemPackages = with pkgs; [ xwayland-satellite xwayland ];
systemd.services.xwayland-satellite = { systemd.user.services.xwayland-satellite = {
description = "Xwayland outside your Wayland"; description = "Xwayland outside your Wayland";
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
@ -16,7 +16,7 @@
StandardOutput = "journal"; StandardOutput = "journal";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "5s"; RestartSec = "2s";
}; };
}; };
} }