qol(obs): added opinion for autostart
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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