[firefox] Fix crashes

This commit is contained in:
Tibo De Peuter 2023-11-25 11:53:46 +01:00
parent 2b2a99aead
commit fe61e2c96d

View file

@ -7,11 +7,13 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home-manager.users.tdpeuter.programs.firefox = lib.mkIf config.sisyphus.programs.home-manager.enable { home-manager.users.tdpeuter.programs.firefox = lib.mkIf config.sisyphus.programs.home-manager.enable {
enable = true; enable = true;
package = pkgs.firefox.override { package = pkgs-unstable.firefox.override {
cfg = { cfg = {
enableTridactylNative = true;
speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord
}; };
nativeMessagingHosts = with pkgs; [
tridactyl-native
];
extraPolicies = { extraPolicies = {
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
DisablePocket = true; DisablePocket = true;