qol(obs): added opinion for autostart
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user