OBS: Add obs
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
./programs/gaming
|
||||
./programs/bluray
|
||||
./programs/direnv
|
||||
./programs/obs
|
||||
|
||||
# Services
|
||||
./services/kanshi
|
||||
|
||||
18
modules/programs/obs/default.nix
Normal file
18
modules/programs/obs/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.programs.obs;
|
||||
in {
|
||||
options.ptw.programs.obs = {
|
||||
enable = lib.mkEnableOption "Configure OBS Studio";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.${config.ptw.system.singleUser}.programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs obs-vkcapture
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user