[Browser/Firefox] refactor firefox to use callPackage

Move overrides to a config option
Add gnome support
This commit is contained in:
Antoine Viallon 2023-05-05 11:44:59 +02:00
parent 776c6e3060
commit 539e85ed95
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
5 changed files with 23 additions and 4 deletions

View file

@ -98,7 +98,7 @@ in
# Use bleeding-edge linux firmware
linux-firmware = super.unstable.linux-firmware;
myFirefox = (import ./packages/firefox.nix { pkgs = self; inherit lib; });
myFirefox = (super.callPackage ./packages/firefox.nix config.aviallon.desktop.browser.firefox.overrides);
})
(final: prev: {
# Use our kernel for generating linux man pages