blob: 6fd6395a7f7eed71d949b015eb8743c1473dbdd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, pkgs, ... }: {
options = {
decklink.enable = lib.mkEnableOption "enables decklink support";
};
config = {
# Kernel modules
hardware.decklink.enable = true;
# DesktopVideoHelper
environment.systemPackages = with pkgs; [ pkgs.blackmagic-desktop-video-gui ];
# Enable decklinkSupport flag globally for all packages that support it (e.g. obs)
nixpkgs.overlays = [
(final: prev: { decklinkSupport = true; })
#(import ./software/derivations/blackmagic-desktop-video-gui/default.nix)
(final: prev: {
blackmagic-desktop-video-gui = (pkgs.callPackage ./software/derivations/blackmagic-desktop-video-gui/generic.nix {}).override({
desktopVideoFull = true;
});
})
];
};
}
|