refactor: better handle chromium flags, add privacy redirect
This commit is contained in:
parent
ee1d288dce
commit
a8320e7798
@ -39,9 +39,22 @@ let
|
|||||||
file
|
file
|
||||||
];
|
];
|
||||||
|
|
||||||
chromiumWayland = pkgs.writeScriptBin "chromium-wayland" ''
|
chromiumWayland =
|
||||||
|
let
|
||||||
|
flags = [
|
||||||
|
"--enable-features=UseOzonePlatform"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
"--enable-vulkan"
|
||||||
|
"--enable-webrtc-pipewire-capturer"
|
||||||
|
"--ignore-gpu-blocklist"
|
||||||
|
"--enable-gpu-rasterization"
|
||||||
|
"--enable-zero-copy"
|
||||||
|
"--disable-gpu-driver-bug-workarounds"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
pkgs.writeScriptBin "chromium-wayland" ''
|
||||||
#!${pkgs.stdenv.shell}
|
#!${pkgs.stdenv.shell}
|
||||||
chromium --enable-features=UseOzonePlatform --ozone-platform=wayland
|
chromium ${lib.concatStringsSep " " flags}
|
||||||
'';
|
'';
|
||||||
chromiumWaylandPkg = with pkgs;
|
chromiumWaylandPkg = with pkgs;
|
||||||
let name = "chromium-wayland"; in
|
let name = "chromium-wayland"; in
|
||||||
@ -246,6 +259,7 @@ in
|
|||||||
ripcord
|
ripcord
|
||||||
audacity
|
audacity
|
||||||
krita
|
krita
|
||||||
|
gimp
|
||||||
kdenlive
|
kdenlive
|
||||||
gnome3.seahorse
|
gnome3.seahorse
|
||||||
gnome3.gnome-boxes
|
gnome3.gnome-boxes
|
||||||
@ -398,6 +412,7 @@ in
|
|||||||
"annfbnbieaamhaimclajlajpijgkdblo" # dark theme
|
"annfbnbieaamhaimclajlajpijgkdblo" # dark theme
|
||||||
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # dark reader
|
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # dark reader
|
||||||
"hlepfoohegkhhmjieoechaddaejaokhf" # github refined
|
"hlepfoohegkhhmjieoechaddaejaokhf" # github refined
|
||||||
|
"pmcmeagblkinmogikoikkdjiligflglb" # privacy redirect
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
qutebrowser = {
|
qutebrowser = {
|
||||||
|
Loading…
Reference in New Issue
Block a user