make droidcam work, and it can be added to obs
This commit is contained in:
parent
6f33e37157
commit
c659f7ea94
@ -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;
|
||||
|
14
home.nix
14
home.nix
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user