more chromium flags
This commit is contained in:
parent
a00983323f
commit
5ab514b46a
@ -556,9 +556,22 @@ in
|
|||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
package = lib.mkDefault ((pkgs.ungoogled-chromium.overrideAttrs (old: {
|
package = lib.mkDefault ((pkgs.ungoogled-chromium.overrideAttrs (old: {
|
||||||
patches = [ ../data/chromium-dark.patch ];
|
patches = [
|
||||||
|
../data/chromium-dark.patch
|
||||||
|
];
|
||||||
})).override {
|
})).override {
|
||||||
commandLineArgs = "--enable-features=UseOzonePlatform,WebUIDarkMode --ozone-platform=wayland --force-dark-mode";
|
commandLineArgs = lib.concatStringsSep " " [
|
||||||
|
# I think if the dark patch worked, this should be removed, it doesn't seem to...
|
||||||
|
"--force-dark-mode"
|
||||||
|
|
||||||
|
"--enable-features=UseOzonePlatform,WebUIDarkMode,VaapiVideoDecoder"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
"--ignore-gpu-blocklist"
|
||||||
|
"--enable-gpu-rasterization"
|
||||||
|
"--enable-zero-copy"
|
||||||
|
"--disable-gpu-driver-bug-workarounds"
|
||||||
|
"--use-gl=egl"
|
||||||
|
];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -611,7 +624,6 @@ in
|
|||||||
config = {
|
config = {
|
||||||
profile = lib.mkDefault "gpu-hq";
|
profile = lib.mkDefault "gpu-hq";
|
||||||
ytdl-format = lib.mkDefault "bestvideo+bestaudio";
|
ytdl-format = lib.mkDefault "bestvideo+bestaudio";
|
||||||
cache-default = lib.mkDefault 4000000;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user