Skip to content

Commit f9208e8

Browse files
committed
move recording stuff to devshell
1 parent db9d0c5 commit f9208e8

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

devShells/recording.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ ... }: let
2+
# on recent nixos25.11, obs-vertical-canvas is broken. This is an older version where it still works.
3+
pkgs = (builtins.getFlake "github:nixos/nixpkgs/a3068ebb668fc855d16101b1f0c8ec82e1a83635").legacyPackages.x86_64-linux;
4+
in
5+
pkgs.mkShell {
6+
buildInputs = [
7+
kdePackages.kdenlive # maybe better use the flatpak version. It doesnt crash when saving the project.
8+
(pkgs.wrapOBS {
9+
plugins = with pkgs.obs-studio-plugins; [
10+
# wlrobs
11+
obs-backgroundremoval
12+
# obs-pipewire-audio-capture
13+
obs-vaapi #optional AMD hardware acceleration
14+
# obs-gstreamer
15+
# obs-vkcapture
16+
# obs-aitum-multistream
17+
obs-vertical-canvas
18+
];
19+
})
20+
];
21+
}

flake-devshells.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
networking = pkgs.callPackage ./devShells/networking.nix { inherit pkgs; };
2222
node = pkgs.callPackage ./devShells/node.nix { inherit pkgs; };
2323
python = pkgs.callPackage ./devShells/python.nix { inherit pkgs; };
24+
recording = pkgs.callPackage ./devShells/recording.nix { };
2425
rust = pkgs.callPackage ./devShells/rust.nix { inherit pkgs; fenixPkgs = inputs'.fenix.packages; };
2526
sys-stats = pkgs.callPackage ./devShells/sys-stats.nix { inherit pkgs; };
2627
texra = pkgs.callPackage ./devShells/texra.nix { inherit pkgs; inherit (inputs) nixpkgs; };

modules/gnome.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
ghostty
7878

7979
vlc
80-
obs-studio
8180
libreoffice
8281
gimp
8382
gthumb # photo folder viewer
@@ -117,7 +116,6 @@
117116
ausweisapp
118117
via # for qmk keyboard flashing
119118
zotero # academic paper manager. Useful plugin: https://retorque.re/zotero-better-bibtex/exporting/auto/index.html
120-
kdePackages.kdenlive
121119

122120
inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-lazer-bin
123121

0 commit comments

Comments
 (0)