diff --git a/home-manager/modules/ezpcusr.nix b/home-manager/modules/ezpcusr.nix index e243bbc..6147706 100644 --- a/home-manager/modules/ezpcusr.nix +++ b/home-manager/modules/ezpcusr.nix @@ -556,9 +556,22 @@ in programs.chromium = { enable = lib.mkDefault true; package = lib.mkDefault ((pkgs.ungoogled-chromium.overrideAttrs (old: { - patches = [ ../data/chromium-dark.patch ]; + patches = [ + ../data/chromium-dark.patch + ]; })).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 = { profile = lib.mkDefault "gpu-hq"; ytdl-format = lib.mkDefault "bestvideo+bestaudio"; - cache-default = lib.mkDefault 4000000; }; };