enable hardware encode/decode
This commit is contained in:
parent
620c1c8f72
commit
0f2f47db12
@ -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 ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user