16 lines
331 B
Nix
16 lines
331 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.custom.programs.obs-studio;
|
||
|
in
|
||
|
{
|
||
|
options.custom.programs.obs-studio.enable = mkOption { default = false; };
|
||
|
|
||
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
||
|
# https://github.com/obsproject/obs-studio
|
||
|
programs.obs-studio.enable = true;
|
||
|
};
|
||
|
}
|