firefox: Use correct way to override some stuff

This commit is contained in:
Erwin Boskma 2024-04-10 22:18:34 +02:00
parent d8b350987e
commit 063ec26f3d
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -104,12 +104,10 @@ in
config = mkIf cfg.enable {
programs.firefox = {
enable = true;
package = pkgs.firefox.override {
cfg = {
enableGnomeExtensions = true;
enableSpeechSynthesisSupport = true;
};
};
package = pkgs.wrapFirefox (pkgs.firefox-unwrapped.override {
pipewireSupport = true;
ffmpegSupport = true;
}) { };
profiles = {
private = {