diff --git a/systems/common/obs.nix b/systems/common/obs.nix index c6e3edc..87be742 100644 --- a/systems/common/obs.nix +++ b/systems/common/obs.nix @@ -4,9 +4,9 @@ config, ... }: let - cfg = config.services.obs; + cfg = config.programs.obs; in { - options.services.obs = { + options.programs.obs = { autostart = pkgs.lib.mkOption { type = pkgs.lib.types.bool; default = false; diff --git a/systems/laptop/default.nix b/systems/laptop/default.nix index 57472fa..f647384 100644 --- a/systems/laptop/default.nix +++ b/systems/laptop/default.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +{...}: { targets.genericLinux.enable = false; programs.bash.shellAliases = { @@ -12,5 +12,5 @@ }; }; - services.obs.autostart = false; + programs.obs.autostart = false; } diff --git a/systems/pc/default.nix b/systems/pc/default.nix index 17b6862..8146b1e 100644 --- a/systems/pc/default.nix +++ b/systems/pc/default.nix @@ -1,8 +1,4 @@ -{ - pkgs, - # options, - ... -}: { +{...}: { targets.genericLinux.enable = false; programs.bash.shellAliases = { @@ -16,5 +12,5 @@ }; }; - services.obs.autostart = true; + programs.obs.autostart = true; }