refactor: better handle chromium flags, add privacy redirect
This commit is contained in:
parent
ee1d288dce
commit
a8320e7798
@ -39,10 +39,23 @@ let
|
|||||||
file
|
file
|
||||||
];
|
];
|
||||||
|
|
||||||
chromiumWayland = pkgs.writeScriptBin "chromium-wayland" ''
|
chromiumWayland =
|
||||||
#!${pkgs.stdenv.shell}
|
let
|
||||||
chromium --enable-features=UseOzonePlatform --ozone-platform=wayland
|
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}
|
||||||
|
chromium ${lib.concatStringsSep " " flags}
|
||||||
|
'';
|
||||||
chromiumWaylandPkg = with pkgs;
|
chromiumWaylandPkg = with pkgs;
|
||||||
let name = "chromium-wayland"; in
|
let name = "chromium-wayland"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -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