move obs config to home level
This commit is contained in:
parent
354cf68d3d
commit
6dd9ceb771
4 changed files with 28 additions and 14 deletions
|
|
@ -24,6 +24,7 @@
|
|||
sops.enable = true;
|
||||
mpv.enable = true;
|
||||
atuin.enable = true;
|
||||
obs.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -36,13 +37,6 @@
|
|||
home.homeDirectory = "/home/${unixName}";
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
tealdeer
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
kvm.enable = true;
|
||||
atuin.enable = true;
|
||||
thunderbird.enable = true;
|
||||
obs.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -45,13 +46,6 @@
|
|||
home.homeDirectory = "/home/${unixName}";
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
tealdeer
|
||||
ripgrep
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
./swaync.nix
|
||||
./swaylock.nix
|
||||
./thunderbird.nix
|
||||
./obs.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
|
|
|||
25
home/modules/obs.nix
Normal file
25
home/modules/obs.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.youthlic.programs.obs;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.obs = {
|
||||
enable = lib.mkEnableOption "obs";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue