mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
Added vivaldi fixed for wayland
This commit is contained in:
@@ -6,7 +6,19 @@
|
||||
pkgs,
|
||||
unstablePkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
# Patch vivaldi to ensure reliability on wayland
|
||||
vivaldi-wayland = pkgs.symlinkJoin {
|
||||
name = "vivaldi-wayland";
|
||||
paths = [pkgs.vivaldi];
|
||||
buildInputs = [pkgs.makeWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/vivaldi \
|
||||
--set NIXOS_OZONE_WL 1 \
|
||||
--add-flags "--ozone-platform=wayland --enable-features=UseOzonePlatform --ozone-platform-hint=auto"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
home.packages = [
|
||||
pkgs.bitwarden
|
||||
pkgs.blueman
|
||||
@@ -33,7 +45,7 @@
|
||||
pkgs.smile
|
||||
pkgs.spotify
|
||||
pkgs.vial
|
||||
pkgs.vivaldi
|
||||
vivaldi-wayland
|
||||
pkgs.vivaldi-ffmpeg-codecs
|
||||
pkgs.warpinator
|
||||
pkgs.zathura
|
||||
|
||||
Reference in New Issue
Block a user