From cee408a975c246ea575364f1d45f436e76931d92 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 2 Jun 2024 20:31:34 +0200 Subject: [PATCH] Fix chromium crashing --- home/modules/chromium/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/modules/chromium/default.nix b/home/modules/chromium/default.nix index 3f787d4b..be8de40f 100644 --- a/home/modules/chromium/default.nix +++ b/home/modules/chromium/default.nix @@ -27,6 +27,12 @@ in { programs.chromium = { enable = true; + commandLineArgs = [ + "--ignore-gpu-blocklist" + "--use-angle=" # Prevents chromium from spamming stdout and crashing + "--ozone-platform=wayland" + ]; + # TODO: Extensions for ungoogled, see https://discourse.nixos.org/t/home-manager-ungoogled-chromium-with-extensions/15214 # package = pkgs.ungoogled-chromium;