Add obs
This commit is contained in:
parent
30be7ded12
commit
8c7debca49
3 changed files with 26 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
../../fish.nix
|
||||
../../autologin.nix
|
||||
../../lxc.nix
|
||||
../../obs.nix
|
||||
];
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
../../fish.nix
|
||||
../../autologin.nix
|
||||
../../hardware/brother/p-touch_p700.nix
|
||||
../../obs.nix
|
||||
];
|
||||
|
||||
boot.loader.grub = {
|
||||
|
|
|
|||
24
obs.nix
Normal file
24
obs.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
extraModulePackages = [
|
||||
(pkgs.linuxPackages_latest.v4l2loopback.overrideAttrs ({ ... }: {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "umlaeute";
|
||||
repo = "v4l2loopback";
|
||||
# master 2020-04-17
|
||||
rev = "10b1c7e6bda4255fdfaa187ce2b3be13433416d2";
|
||||
sha256 = "0xsn4yzj7lwdg0n7q3rnqpz07i9i011k2pwn06hasd45313zf8j2";
|
||||
};
|
||||
}))
|
||||
];
|
||||
#extraModprobeConfig = ''
|
||||
# options v4l2loopback exclusive_caps=1 video_nr=9 card_label="obs"
|
||||
#'';
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
v4l-utils
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue