Do a TON of organising into seperate files
This commit is contained in:
parent
b42afdda7e
commit
823361a999
20 changed files with 396 additions and 116 deletions
42
nixos/home-manager/packages/video-capture.nix
Normal file
42
nixos/home-manager/packages/video-capture.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
unstable,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
withExtraPackages =
|
||||
pkg: extraPackages:
|
||||
pkgs.runCommand "${pkg.name}-wrapped" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
|
||||
for exe in ${lib.getBin pkg}/bin/*; do
|
||||
makeWrapper $exe $out/bin/$(basename $exe) --prefix PATH : ${lib.makeBinPath extraPackages}
|
||||
done
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
||||
home.packages =
|
||||
with unstable;
|
||||
with inputs;
|
||||
[
|
||||
unstable.gpu-screen-recorder-gtk
|
||||
gsr-ui.gpu-screen-recorder-ui
|
||||
];
|
||||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-vkcapture
|
||||
obs-pipewire-audio-capture
|
||||
obs-teleport
|
||||
obs-source-record
|
||||
obs-source-clone
|
||||
obs-composite-blur
|
||||
];
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue