nixda: enable decklink module

This commit is contained in:
hexchen 2020-11-29 18:32:02 +00:00
parent 856f27bbfb
commit e5ccb3143d

View file

@ -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