qol(obs): added opinion for autostart

This commit is contained in:
2025-12-27 13:27:41 +00:00
parent 039cd96329
commit 49deb7991d
3 changed files with 10 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ in
{
options.modules.obs = {
enable = lib.mkEnableOption "obs";
autostart = lib.mkEnableOption "autostart with reply";
};
config = lib.mkIf cfg.enable {
programs = {
@@ -49,7 +50,7 @@ in
''}";
};
};
systemd.user.services.obs-autostart = lib.mkIf cfg.enable {
systemd.user.services.obs-autostart = lib.mkIf cfg.autostart {
Unit = {
Description = "OBS daemon";
After = [ "hyprland-session.target" ];