mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-04-27 23:35:05 +02:00
20 lines
328 B
Nix
20 lines
328 B
Nix
{ config, options, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.desktop.apps.obs;
|
|
in {
|
|
options.modules.desktop.apps.obs = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
obs-studio
|
|
];
|
|
};
|
|
}
|