From 73a0247066b49874cf653ef2396e593c6277087c Mon Sep 17 00:00:00 2001 From: mir Date: Tue, 26 Mar 2024 10:53:33 -0800 Subject: [PATCH] move obs and droidcam into its own file --- configuration.nix | 6 +++--- flake.nix | 1 + home.nix | 3 --- modules/droidcam-obs.nix | 12 ++++++++++++ 4 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 modules/droidcam-obs.nix diff --git a/configuration.nix b/configuration.nix index 5847555..0ed8135 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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; diff --git a/flake.nix b/flake.nix index d625808..c2a551d 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { diff --git a/home.nix b/home.nix index a83d5e6..9b18666 100644 --- a/home.nix +++ b/home.nix @@ -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 diff --git a/modules/droidcam-obs.nix b/modules/droidcam-obs.nix new file mode 100644 index 0000000..f79ea36 --- /dev/null +++ b/modules/droidcam-obs.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + v4l-utils + android-tools + adb-sync + ffmpeg + droidcam + obs-studio + ]; +}