Coder Social home page Coder Social logo

wimpysworld / obs-studio-flaking-loaded Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 5 KB

OBS Studio for NixOS ❄️ that bundles an extensive collection of 3rd party plugins

License: MIT License

flake nix nix-flake nixos nixpkgs obs-studio obs-studio-plugin

obs-studio-flaking-loaded's People

Contributors

flexiondotorg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

obs-studio-flaking-loaded's Issues

nix-shell 'fastfood' way to run obs WITH plugins?

Nixos newbie here, nice to meet you.

Q: Is there a way to run plugins in such way, that I can easily garbage collect everything?

REASON: on my lowdiskspace nixos netbook I run many programs (which i don't often need) in the following 'fastfood' fashion:

#!/bin/sh
nix-shell -p mandelbulber --run mandelbulber2
read -p "[?] cleanup? [y/n]" y
test $y = y && nix-collect-garbage

I tried something similar with the following ~/bin/obs-studio shellscript, and eventhough it runs..it can't find the plugins (even after symlinking)

#! /usr/bin/env nix-shell
#!  nix-shell -p obs-studio-plugins.droidcam-obs obs-studio-plugins.input-overlay obs-studio-plugins.obs-backgroundremoval obs-studio bash -i bash
echo setting up plugins 
plugins=~/.config/obs-studio/plugins 
test -d $plugins/$i/bin/64bit || mkdir -p $plugins/$i/bin/64bit

for i in overlay backgroundremoval droidcam; do 
  ln -fs $(find /nix/store/*$i* -maxdepth 0 -type d)/lib/obs-plugins/*.so ~/.config/obs-studio/plugins/.
  ln -fs $(find /nix/store/*$i* -maxdepth 0 -type d)/lib/obs-plugins/*.so ~/.config/obs-studio/plugins/$i/bin/64bit/.
done
find $plugins
obs

any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.