diff --git a/nix/modules/obs/home.nix b/nix/modules/obs/home.nix index c438f2c..b35d793 100644 --- a/nix/modules/obs/home.nix +++ b/nix/modules/obs/home.nix @@ -58,9 +58,10 @@ in WantedBy = [ "default.target" ]; }; Service = { + # wait for hyprland to start ExecStart = "${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer"; - # Restart = "on-failure"; - # RestartSec = "5s"; + Restart = "on-failure"; + RestartSec = "5s"; }; }; };