nixos/modules/desktop/apps/obs/default.nix

22 lines
301 B
Nix
Raw Normal View History

2023-08-06 21:19:35 +04:00
{
outputs,
options,
config,
lib,
pkgs,
...
}:
2024-08-01 16:24:09 +04:00
let
2023-08-06 21:19:35 +04:00
cfg = config.modules.desktop.apps.obs;
in {
options.modules.desktop.apps.obs = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-08-06 21:19:35 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-08-06 21:19:35 +04:00
users.users.sako.packages = with pkgs; [
obs-studio
];
};
}