21 lines
369 B
Nix
21 lines
369 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.my-namespace) mkEnableOption mkIf;
|
|
cfg = config.my-namespace.home.stream-tools;
|
|
in {
|
|
options.my-namespace.home.stream-tools = {
|
|
enable = mkEnableOption "Enable the Stream Machine Tools";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home = {
|
|
packages = with pkgs; [
|
|
obs-studio
|
|
];
|
|
};
|
|
};
|
|
} |