OBS: Add obs
This commit is contained in:
parent
55dcc4e3dc
commit
32ab8d5ab2
@ -60,7 +60,7 @@
|
|||||||
primaryScreen = "C27F398";
|
primaryScreen = "C27F398";
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
#sway.enable = true;
|
sway.enable = true;
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
@ -76,6 +76,7 @@
|
|||||||
office.enable = true;
|
office.enable = true;
|
||||||
plasma.enable = true;
|
plasma.enable = true;
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
|
obs.enable = true;
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
@ -116,7 +117,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot = let
|
boot = let
|
||||||
kernel = pkgs.linuxPackages_zen;
|
kernel = pkgs.linuxPackages_xanmod;
|
||||||
in {
|
in {
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options kvm_amd nested=1
|
options kvm_amd nested=1
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
./programs/gaming
|
./programs/gaming
|
||||||
./programs/bluray
|
./programs/bluray
|
||||||
./programs/direnv
|
./programs/direnv
|
||||||
|
./programs/obs
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
./services/kanshi
|
./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