Do a TON of organising into seperate files

This commit is contained in:
BuyMyMojo 2025-04-05 10:40:02 +11:00
parent b42afdda7e
commit 823361a999
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
20 changed files with 396 additions and 116 deletions

View 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
];
};
}