diff --git a/flake.nix b/flake.nix index dccaca3..ee5c840 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,8 @@ Type = "simple"; ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p %h/.local/share/razercontrol"; ExecStart = "${cfg.package}/libexec/daemon"; + Restart = "on-failure"; + RestartSec = "5s"; }; wantedBy = [ "default.target" ]; };