22 lines
789 B
Nix
22 lines
789 B
Nix
{ inputs, pkgs, ...}:
|
|
{
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
qutebrowser = prev.qutebrowser.override {
|
|
enableWideVine = if pkgs.system == "x86_64-linux" then true else false;
|
|
# Get Widevine friom slackware as google CDN seems to not working anymore
|
|
# TODO: Remove this when resolved upstream
|
|
# https://github.com/NixOS/nixpkgs/issues/435671
|
|
widevine-cdm = pkgs.widevine-cdm.overrideAttrs (oldAttrs: {
|
|
src = pkgs.fetchzip {
|
|
url = "https://alien.slackbook.org/slackbuilds/chromium-widevine-plugin/build/4.10.2891.0-linux-x64.zip" ;
|
|
hash = "sha256-ZO6FmqJUnB9VEJ7caJt58ym8eB3/fDATri3iOWCULRI";
|
|
|
|
stripRoot = false;
|
|
};
|
|
});
|
|
};
|
|
})
|
|
inputs.nur.overlays.default
|
|
];
|
|
}
|