diff --git a/nix/base.nix b/nix/base.nix index 7ec32e9..4fd8d7f 100644 --- a/nix/base.nix +++ b/nix/base.nix @@ -52,8 +52,9 @@ startup = do ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs"; ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'"; RemainAfterExit = "yes"; - Type = "oneshot"; User = "user"; + Restart = "on-failure"; + TimeoutSec = 10; }; wantedBy = [ "multi-user.target" ]; };