From e5ccb3143d922699e3c8e68e00ccb2c9ff0b9e76 Mon Sep 17 00:00:00 2001 From: hexchen Date: Sun, 29 Nov 2020 18:32:02 +0000 Subject: [PATCH] nixda: enable decklink module --- configuration/hosts/nixda/configuration.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/configuration/hosts/nixda/configuration.nix b/configuration/hosts/nixda/configuration.nix index 9a66312..a1748df 100644 --- a/configuration/hosts/nixda/configuration.nix +++ b/configuration/hosts/nixda/configuration.nix @@ -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