diff --git a/hosts/doloro-laptop/home.nix b/hosts/doloro-laptop/home.nix index ebb779d..26c8874 100644 --- a/hosts/doloro-laptop/home.nix +++ b/hosts/doloro-laptop/home.nix @@ -18,7 +18,10 @@ stylix.enable = true; tmux.enable = true; theme.enable = true; - obs.enable = true; + obs = { + enable = true; + autostart = false; + }; blender.enable = false; bottles.enable = false; fish.enable = true; diff --git a/hosts/doloro/home.nix b/hosts/doloro/home.nix index ab6b124..8330936 100644 --- a/hosts/doloro/home.nix +++ b/hosts/doloro/home.nix @@ -37,7 +37,10 @@ kitty.enable = true; tmux.enable = true; theme.enable = true; - obs.enable = true; + obs = { + enable = true; + autostart = true; + }; blender.enable = true; bottles.enable = true; fish.enable = true; diff --git a/modules/obs/home.nix b/modules/obs/home.nix index b35d793..68fefbb 100644 --- a/modules/obs/home.nix +++ b/modules/obs/home.nix @@ -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" ];