mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
chromium: support ungoogled-chromium
The guessed browser name is wrong here, ungoogled-chromium simply uses "chromium" as configuration name.
This commit is contained in:
parent
9d680ec662
commit
6f5fa6350d
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ let
|
||||||
browserConfig = cfg:
|
browserConfig = cfg:
|
||||||
let
|
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 = {
|
darwinDirs = {
|
||||||
chromium = "Chromium";
|
chromium = "Chromium";
|
||||||
|
|
Loading…
Reference in a new issue