nixos-configs/homeManagerModules/firefox/gx-theme.nix
matt1432 087dd2af15
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: rename checks and move files out of flake dir
2024-08-05 16:40:32 -04:00

27 lines
631 B
Nix

{
lib,
mkVersion,
firefox-gx-src,
stdenvNoCC,
}:
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;
};
}