From 6f5fa6350d47862c0cdc1668e62937522c3e74b7 Mon Sep 17 00:00:00 2001 From: jD91mZM2 Date: Tue, 19 Jan 2021 08:50:01 +0100 Subject: [PATCH] chromium: support ungoogled-chromium The guessed browser name is wrong here, ungoogled-chromium simply uses "chromium" as configuration name. --- modules/programs/chromium.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/programs/chromium.nix b/modules/programs/chromium.nix index b97426d0..07c4542e 100644 --- a/modules/programs/chromium.nix +++ b/modules/programs/chromium.nix @@ -99,7 +99,8 @@ let browserConfig = cfg: let - browser = (builtins.parseDrvName cfg.package.name).name; + drvName = (builtins.parseDrvName cfg.package.name).name; + browser = if drvName == "ungoogled-chromium" then "chromium" else drvName; darwinDirs = { chromium = "Chromium";