home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9446378e10e17fe608b710212cf49c933f9071e5
parent 5dd698509d6260d0c159bd4bb317a8b88fc452db
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 10 Nov 2020 23:27:19 +0100

system/naruhodo: fix obs-v4l2sink

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/naruhodo.nix | 4+++-
Musers/vincent/desktop/default.nix | 4++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/systems/naruhodo.nix b/systems/naruhodo.nix @@ -51,7 +51,9 @@ in boot = { tmpOnTmpfs = true; plymouth.enable = true; - extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; + extraModulePackages = with pkgs.linuxPackages; [ + v4l2loopback + ]; kernelModules = [ "v4l2loopback" ]; extraModprobeConfig = '' options v4l2loopback exclusive_caps=1 diff --git a/users/vincent/desktop/default.nix b/users/vincent/desktop/default.nix @@ -33,14 +33,14 @@ # TODO make this an option # slack obs-studio - obs-v4l2sink - linuxPackages.v4l2loopback # FIXME move this elsewhere keybase # pass profile-sync-daemon ]; + xdg.configFile."obs-studio/plugins/obs-v4l2sink/bin/64bit/obs-v4l2sink.so".source = + "${pkgs.obs-v4l2sink}/share/obs/obs-plugins/v4l2sink/bin/64bit/v4l2sink.so"; home.file.".XCompose".source = ./xorg/XCompose; # home.file.".Xmodmap".source = ./xorg/Xmodmap; xdg.configFile."xorg/emoji.compose".source = ./xorg/emoji.compose;