updated syntax

This commit is contained in:
Kristian Krsnik 2024-02-16 17:45:51 +01:00
parent ae6da0ecc4
commit 28ba8e57bc
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
3 changed files with 6 additions and 10 deletions

View File

@ -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;

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
{...}: {
targets.genericLinux.enable = false;
programs.bash.shellAliases = {
@ -12,5 +12,5 @@
};
};
services.obs.autostart = false;
programs.obs.autostart = false;
}

View File

@ -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;
}