nixos-configs/home/firefox/firefox-gx/default.nix

28 lines
631 B
Nix
Raw Normal View History

2023-11-22 15:33:16 -05:00
{
lib,
firefox-gx-src,
mkVersion,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
2023-10-09 04:13:58 -04:00
pname = "firefox-gx";
version = mkVersion firefox-gx-src;
2023-10-09 04:13:58 -04:00
src = firefox-gx-src;
2023-10-09 04:13:58 -04:00
installPhase = ''
# Personal changes
sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css
sed -i 's#../newtab/wallpaper-dark1.png#../newtab/wallpaper-dark2.png#' ./chrome/components/ogx_root-personal.css
mkdir -p $out
cp -r ./* $out
'';
2023-10-09 04:13:58 -04:00
meta = {
description = "Firefox Theme CSS to Opera GX Lovers";
homepage = "https://github.com/Godiesc/firefox-gx";
license = lib.licenses.mspl;
};
}