[Desktop/Browser+Gnome+Plasma] use config overrides for firefox instead of overriding package directly

This commit is contained in:
Antoine Viallon 2023-05-11 19:12:32 +02:00
parent 1d8c452fa2
commit 29b799da7c
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 7 additions and 3 deletions

View file

@ -38,13 +38,15 @@ in {
"gphhapmejobijbbhgpjhcjognlahblep" # Gnome Shell integration "gphhapmejobijbbhgpjhcjognlahblep" # Gnome Shell integration
]; ];
aviallon.desktop.browser.firefox.overrides.enableGnomeExtensions = true;
environment.systemPackages = with pkgs; [] environment.systemPackages = with pkgs; []
++ [ ++ [
guake guake
libreoffice-fresh libreoffice-fresh
(myFirefox.override { enableGnomeExtensions = true; }) myFirefox
] ]
++ (with gnome; [ ++ (with gnome; [
gnome-software gnome-software

View file

@ -74,9 +74,11 @@ in {
libreoffice-qt libreoffice-qt
(myFirefox.override { enablePlasmaBrowserIntegration = true; }) myFirefox
]; ];
aviallon.desktop.browser.firefox.overrides.enablePlasmaBrowserIntegration = true;
environment.profileRelativeSessionVariables = { environment.profileRelativeSessionVariables = {
QT_PLUGIN_PATH = mkForce []; # Remove as it causes many issues when pulling one package from nixos-unstable QT_PLUGIN_PATH = mkForce []; # Remove as it causes many issues when pulling one package from nixos-unstable
}; };