enable hardware encode/decode

This commit is contained in:
zuckerberg 2021-09-09 11:36:55 -04:00
parent 620c1c8f72
commit 0f2f47db12

View File

@ -70,7 +70,6 @@ in {
chown ${cfg.user} ${cfg.dataDir}
'';
};
};
# hardware accelerated video encoding/decoding (on intel)
nixpkgs.config.packageOverrides = lib.mkIf cfg.enableVideoAcceleration (pkgs: {
@ -84,4 +83,5 @@ in {
];
extraPackages32 = with pkgs.pkgsi686Linux; [ vaapiIntel ];
};
};
}