qol(obs): obs autostart

This commit is contained in:
2025-11-16 17:52:03 +00:00
parent 25dfd86cbe
commit 1d28072c0d

View File

@@ -49,5 +49,19 @@ in
''}";
};
};
systemd.user.services.obs-autostart = lib.mkIf cfg.enable {
Unit = {
Description = "OBS daemon";
After = [ "hyprland-session.target" ];
};
Install = {
WantedBy = [ "default.target" ];
};
Service = {
ExecStart = "${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer";
# Restart = "on-failure";
# RestartSec = "5s";
};
};
};
}