From 9f4077d3579b9837fff78b8f36661c7abc41cd10 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 14 Nov 2020 14:45:38 +0100 Subject: Update --- platforms/linux/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'platforms/linux/configuration.nix') diff --git a/platforms/linux/configuration.nix b/platforms/linux/configuration.nix index ec64b83..dcf2e1b 100644 --- a/platforms/linux/configuration.nix +++ b/platforms/linux/configuration.nix @@ -53,6 +53,15 @@ in boot.plymouth.enable = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + boot.extraModulePackages = with pkgs.linuxPackages; [ + v4l2loopback + ]; + + boot.kernelModules = [ "v4l2loopback" ]; + boot.extraModprobeConfig = '' + options v4l2loopback exclusive_caps=1 video_nr=9 card_label="obs" + ''; + fileSystems = { "/home" = { device = "/dev/disk/by-label/home"; -- cgit 1.4.1