add vivaldi

This commit is contained in:
Christoph Cullmann 2025-03-31 20:03:09 +02:00
parent dde57a3408
commit d8cc35c25a
No known key found for this signature in database

View file

@ -7,6 +7,18 @@ let
mgba
quicknes
]));
vivaldiBrowser = ((pkgs.vivaldi.overrideAttrs (oldAttrs: {
buildPhase = builtins.replaceStrings
["for f in libGLESv2.so libqt5_shim.so ; do"]
["for f in libGLESv2.so libqt6_shim.so ; do"]
oldAttrs.buildPhase;
})).override {
qt5 = pkgs.qt6;
commandLineArgs = [ "--ozone-platform=wayland" ];
# The following two are just my preference, feel free to leave them out
proprietaryCodecs = true;
enableWidevine = true;
});
in
{
#
@ -441,6 +453,7 @@ in
unzip
usbutils
valgrind
vivaldiBrowser
vlc
vscodium
vulkan-tools
@ -480,6 +493,11 @@ in
executable = "${retroarchWithCores}/bin/retroarch";
profile = "${pkgs.firejail}/etc/firejail/retroarch.profile";
};
vivaldi = {
executable = "${pkgs.lib.getBin vivaldiBrowser}/bin/vivaldi";
profile = "${pkgs.firejail}/etc/firejail/vivaldi.profile";
};
};
};