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 vim
emacs29-pgtk emacs29-pgtk
nfs-utils nfs-utils
v4l-utils # v4l-utils
android-tools # android-tools
adb-sync # adb-sync
]; ];
services.flatpak.enable = true; services.flatpak.enable = true;

View File

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

View File

@ -22,9 +22,6 @@ with lib.hm.gvariant;
pkgs.eza pkgs.eza
pkgs.python3 pkgs.python3
pkgs.unzip pkgs.unzip
pkgs.ffmpeg
pkgs.droidcam
pkgs.obs-studio
# (pkgs.wrapOBS { # (pkgs.wrapOBS {
# plugins = with pkgs.obs-studio-plugins; [ # plugins = with pkgs.obs-studio-plugins; [
# droidcam-obs # 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
];
}