move v4l stuff into obs module

This commit is contained in:
mir 2024-03-26 11:45:55 -08:00
parent 645ccb25fe
commit 465c5e2bf5
2 changed files with 6 additions and 6 deletions

View File

@ -7,12 +7,6 @@
{ {
# 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" ];

View File

@ -1,6 +1,12 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
boot.kernelModules = [
"v4l2loopback"
];
boot.extraModulePackages = [
pkgs.linuxPackages.v4l2loopback
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
v4l-utils v4l-utils
android-tools android-tools