nixos-configs/home/firefox/firefox-gx/default.nix
matt1432 31c3cd5f7d
All checks were successful
Discord / discord commits (push) Has been skipped
feat(firefox): update and clean up firefox-gx
2024-06-11 11:13:40 -04:00

27 lines
629 B
Nix

{
lib,
stdenvNoCC,
firefox-gx-src,
}:
stdenvNoCC.mkDerivation {
pname = "firefox-gx";
version = firefox-gx-src.shortRev;
src = firefox-gx-src;
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
'';
meta = with lib; {
description = "Firefox Theme CSS to Opera GX Lovers";
homepage = "https://github.com/Godiesc/firefox-gx";
license = licenses.mspl;
};
}