OBS: Add obs
This commit is contained in:
parent
55dcc4e3dc
commit
32ab8d5ab2
@ -52,7 +52,7 @@
|
||||
vortex-wrapped
|
||||
zoom-vm
|
||||
];
|
||||
|
||||
|
||||
ptw = {
|
||||
programs = {
|
||||
bluray.enable = true;
|
||||
@ -60,7 +60,7 @@
|
||||
primaryScreen = "C27F398";
|
||||
enable = true;
|
||||
};
|
||||
#sway.enable = true;
|
||||
sway.enable = true;
|
||||
alacritty.enable = true;
|
||||
emacs.enable = true;
|
||||
firefox.enable = true;
|
||||
@ -76,6 +76,7 @@
|
||||
office.enable = true;
|
||||
plasma.enable = true;
|
||||
gaming.enable = true;
|
||||
obs.enable = true;
|
||||
};
|
||||
services = {
|
||||
gamemode.enable = true;
|
||||
@ -116,7 +117,7 @@
|
||||
};
|
||||
|
||||
boot = let
|
||||
kernel = pkgs.linuxPackages_zen;
|
||||
kernel = pkgs.linuxPackages_xanmod;
|
||||
in {
|
||||
extraModprobeConfig = ''
|
||||
options kvm_amd nested=1
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user