2025-01-04 19:02:30 -05:00
|
|
|
self: {
|
|
|
|
lib,
|
|
|
|
osConfig,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-08-02 22:32:29 -04:00
|
|
|
inherit (self.inputs) nixpkgs-wayland;
|
2025-01-04 19:02:30 -05:00
|
|
|
|
|
|
|
waypkgs = nixpkgs-wayland.packages.${pkgs.system};
|
|
|
|
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
|
|
|
cfg = osConfig.roles.desktop;
|
2024-08-02 22:32:29 -04:00
|
|
|
in {
|
2025-01-04 19:02:30 -05:00
|
|
|
config = mkIf cfg.enable {
|
2024-08-02 22:32:29 -04:00
|
|
|
programs = {
|
|
|
|
obs-studio = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [
|
|
|
|
waypkgs.obs-wlrobs
|
|
|
|
pkgs.obs-studio-plugins.droidcam-obs
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# For accurate stack trace
|
|
|
|
_file = ./obs.nix;
|
|
|
|
}
|