nixda: enable decklink module

keep-around/e5ccb3143d922699e3c8e68e00ccb2c9ff0b9e76
hexchen 2020-11-29 18:32:02 +00:00
parent 856f27bbfb
commit e5ccb3143d
1 changed files with 1 additions and 9 deletions

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