mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 23:11:57 +00:00
Added vivaldi fixed for wayland
This commit is contained in:
@@ -6,7 +6,19 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
unstablePkgs,
|
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 = [
|
home.packages = [
|
||||||
pkgs.bitwarden
|
pkgs.bitwarden
|
||||||
pkgs.blueman
|
pkgs.blueman
|
||||||
@@ -33,7 +45,7 @@
|
|||||||
pkgs.smile
|
pkgs.smile
|
||||||
pkgs.spotify
|
pkgs.spotify
|
||||||
pkgs.vial
|
pkgs.vial
|
||||||
pkgs.vivaldi
|
vivaldi-wayland
|
||||||
pkgs.vivaldi-ffmpeg-codecs
|
pkgs.vivaldi-ffmpeg-codecs
|
||||||
pkgs.warpinator
|
pkgs.warpinator
|
||||||
pkgs.zathura
|
pkgs.zathura
|
||||||
|
|||||||
Reference in New Issue
Block a user