nixda: enable decklink module
This commit is contained in:
parent
856f27bbfb
commit
e5ccb3143d
1 changed files with 1 additions and 9 deletions
|
@ -22,18 +22,10 @@
|
|||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
|
||||
# hardware.decklink.enable = true;
|
||||
hardware.decklink.enable = true;
|
||||
|
||||
networking.hostName = "nixda"; # Define your hostname.
|
||||
|
||||
boot.kernelModules = [ "blackmagic" "blackmagic-io" "snd_blackmagic-io" ];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.decklink ];
|
||||
systemd.services."DecklinkVideoHelper" = {
|
||||
after = [ "syslog.target" "local-fs.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${pkgs.blackmagicDesktopVideo}/bin/DesktopVideoHelper -n";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ blackmagicDesktopVideo makemkv ];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
Loading…
Reference in a new issue