nixos-configs/home/firefox/gx-theme.nix
matt1432 fc712b5223
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: move mpv scripts and firefox addons to scopes in lgcyPkgs
2024-06-26 14:47:14 -04:00

28 lines
706 B
Nix

{
lib,
firefox-gx-src,
stdenvNoCC,
}: let
inherit (import ../../lib.nix {}) mkVersion;
in
stdenvNoCC.mkDerivation {
pname = "firefox-gx";
version = mkVersion firefox-gx-src;
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 = {
description = "Firefox Theme CSS to Opera GX Lovers";
homepage = "https://github.com/Godiesc/firefox-gx";
license = lib.licenses.mspl;
};
}