chore: update firefox theme and settings
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-21 14:36:13 -05:00
parent 4a2db4c066
commit 2892344f9b
2 changed files with 24 additions and 28 deletions

View file

@ -41,8 +41,6 @@ in {
# Prefs
"layout.css.devPixelsPerPx" = 1.12;
"browser.tabs.firefox-view" = false;
"browser.tabs.firefox-view-next" = false;
"browser.search.widget.inNavBar" = true;
"browser.toolbars.bookmarks.visibility" = "always";
"browser.toolbars.bookmarks.showInPrivateBrowsing" = true;

View file

@ -2,17 +2,15 @@
lib,
stdenvNoCC,
fetchFromGitHub,
}: let
}:
stdenvNoCC.mkDerivation rec {
pname = "firefox-gx";
version = "c1d9888d27543ded51f9854d7e58db601fd33d43";
in
stdenvNoCC.mkDerivation {
inherit pname version;
version = "9.0";
src = fetchFromGitHub {
owner = "Godiesc";
repo = pname;
rev = "${version}";
rev = "v${version}";
sha256 = "sha256-FCx5mADqrjAN27lLaZViOFGUNDg/2jpern8sem8u49w=";
};
@ -22,7 +20,7 @@ in
# Fix new tab background for nix
substituteInPlace ./chrome/components/ogx_root-personal.css \
--replace '../newtab/wallpaper-dark.png' "$out/chrome/newtab/private-dark.png"
--replace-fail '../newtab/wallpaper-dark.png' "$out/chrome/newtab/private-dark.png"
mkdir -p $out
cp -r ./* $out
@ -33,4 +31,4 @@ in
homepage = "https://github.com/Godiesc/firefox-gx";
license = licenses.mspl;
};
}
}