diff --git a/configuration.nix b/configuration.nix index eac94f0..5847555 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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; diff --git a/home.nix b/home.nix index 44f64d5..a83d5e6 100644 --- a/home.nix +++ b/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