move obs and droidcam into its own file

This commit is contained in:
mir 2024-03-26 10:53:33 -08:00
parent fdd03eba18
commit 73a0247066
4 changed files with 16 additions and 6 deletions

View File

@ -164,9 +164,9 @@
vim
emacs29-pgtk
nfs-utils
v4l-utils
android-tools
adb-sync
# v4l-utils
# android-tools
# adb-sync
];
services.flatpak.enable = true;

View File

@ -141,6 +141,7 @@
networking.hostName = "knockout";
sound.enable = true;
}
./modules/droidcam-obs.nix # only this machine
./hardware/knockout-hw.nix
inputs.home-manager-unstable.nixosModules.home-manager
{

View File

@ -22,9 +22,6 @@ with lib.hm.gvariant;
pkgs.eza
pkgs.python3
pkgs.unzip
pkgs.ffmpeg
pkgs.droidcam
pkgs.obs-studio
# (pkgs.wrapOBS {
# plugins = with pkgs.obs-studio-plugins; [
# droidcam-obs

12
modules/droidcam-obs.nix Normal file
View File

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
v4l-utils
android-tools
adb-sync
ffmpeg
droidcam
obs-studio
];
}