make droidcam work, and it can be added to obs

This commit is contained in:
Miranda Marquez 2024-03-26 10:31:41 -08:00
parent 6f33e37157
commit c659f7ea94
2 changed files with 17 additions and 6 deletions

View File

@ -7,6 +7,12 @@
{
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.kernelModules = [
"v4l2loopback"
];
boot.extraModulePackages = [
pkgs.linuxPackages.v4l2loopback
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
@ -158,6 +164,9 @@
vim
emacs29-pgtk
nfs-utils
v4l-utils
android-tools
adb-sync
];
services.flatpak.enable = true;

View File

@ -23,11 +23,13 @@ with lib.hm.gvariant;
pkgs.python3
pkgs.unzip
pkgs.ffmpeg
(pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
droidcam-obs
];
})
pkgs.droidcam
pkgs.obs-studio
# (pkgs.wrapOBS {
# plugins = with pkgs.obs-studio-plugins; [
# droidcam-obs
# ];
# })
# (pkgs.wrapOBS.override {
# obs-studio =
@ -201,7 +203,7 @@ with lib.hm.gvariant;
};
# programs.obs-studio = {
# enable = true;
# # plugins = [ pkgs.obs-studio-plugins.droidcam-obs ];
# plugins = [ pkgs.obs-studio-plugins.droidcam-obs ];
# # package = (pkgs.wrapOBS {
# # plugins = with pkgs.obs-studio-plugins; [
# # droidcam-obs