enable hardware encode/decode
This commit is contained in:
@@ -70,7 +70,6 @@ in {
|
|||||||
chown ${cfg.user} ${cfg.dataDir}
|
chown ${cfg.user} ${cfg.dataDir}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
# hardware accelerated video encoding/decoding (on intel)
|
# hardware accelerated video encoding/decoding (on intel)
|
||||||
nixpkgs.config.packageOverrides = lib.mkIf cfg.enableVideoAcceleration (pkgs: {
|
nixpkgs.config.packageOverrides = lib.mkIf cfg.enableVideoAcceleration (pkgs: {
|
||||||
@@ -84,4 +83,5 @@ in {
|
|||||||
];
|
];
|
||||||
extraPackages32 = with pkgs.pkgsi686Linux; [ vaapiIntel ];
|
extraPackages32 = with pkgs.pkgsi686Linux; [ vaapiIntel ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user