make droidcam work, and it can be added to obs
This commit is contained in:
parent
6f33e37157
commit
c659f7ea94
@ -7,6 +7,12 @@
|
|||||||
{
|
{
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.kernelModules = [
|
||||||
|
"v4l2loopback"
|
||||||
|
];
|
||||||
|
boot.extraModulePackages = [
|
||||||
|
pkgs.linuxPackages.v4l2loopback
|
||||||
|
];
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
||||||
@ -158,6 +164,9 @@
|
|||||||
vim
|
vim
|
||||||
emacs29-pgtk
|
emacs29-pgtk
|
||||||
nfs-utils
|
nfs-utils
|
||||||
|
v4l-utils
|
||||||
|
android-tools
|
||||||
|
adb-sync
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
14
home.nix
14
home.nix
@ -23,11 +23,13 @@ with lib.hm.gvariant;
|
|||||||
pkgs.python3
|
pkgs.python3
|
||||||
pkgs.unzip
|
pkgs.unzip
|
||||||
pkgs.ffmpeg
|
pkgs.ffmpeg
|
||||||
(pkgs.wrapOBS {
|
pkgs.droidcam
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
pkgs.obs-studio
|
||||||
droidcam-obs
|
# (pkgs.wrapOBS {
|
||||||
];
|
# plugins = with pkgs.obs-studio-plugins; [
|
||||||
})
|
# droidcam-obs
|
||||||
|
# ];
|
||||||
|
# })
|
||||||
|
|
||||||
# (pkgs.wrapOBS.override {
|
# (pkgs.wrapOBS.override {
|
||||||
# obs-studio =
|
# obs-studio =
|
||||||
@ -201,7 +203,7 @@ with lib.hm.gvariant;
|
|||||||
};
|
};
|
||||||
# programs.obs-studio = {
|
# programs.obs-studio = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# # plugins = [ pkgs.obs-studio-plugins.droidcam-obs ];
|
# plugins = [ pkgs.obs-studio-plugins.droidcam-obs ];
|
||||||
# # package = (pkgs.wrapOBS {
|
# # package = (pkgs.wrapOBS {
|
||||||
# # plugins = with pkgs.obs-studio-plugins; [
|
# # plugins = with pkgs.obs-studio-plugins; [
|
||||||
# # droidcam-obs
|
# # droidcam-obs
|
||||||
|
Loading…
Reference in New Issue
Block a user