home/{firefox,thunderbird}: remove ifd

This commit is contained in:
Guanran Wang 2024-06-23 22:55:42 +08:00
parent f48525552d
commit 4055e7432a
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 5 additions and 11 deletions

View file

@ -3,17 +3,12 @@
enable = true; enable = true;
profiles."default" = { profiles."default" = {
extraConfig = '' extraConfig = ''
${builtins.readFile (pkgs.fetchurl { ${builtins.readFile (builtins.fetchurl {
# FIXME: IFD
url = "https://raw.githubusercontent.com/arkenfox/user.js/126.1/user.js"; url = "https://raw.githubusercontent.com/arkenfox/user.js/126.1/user.js";
hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4="; sha256 = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4=";
})} })}
${builtins.readFile ./user-overrides.js} ${builtins.readFile ./user-overrides.js}
''; '';
}; };
}; };
home.sessionVariables = {
MOZ_USE_XINPUT2 = "1";
};
} }

View file

@ -1,13 +1,12 @@
{pkgs, ...}: { {
programs.thunderbird = { programs.thunderbird = {
enable = true; enable = true;
profiles.default = { profiles.default = {
isDefault = true; isDefault = true;
extraConfig = '' extraConfig = ''
${builtins.readFile (pkgs.fetchurl { ${builtins.readFile (builtins.fetchurl {
# FIXME: IFD
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js"; url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js";
hash = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg="; sha256 = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
})} })}
${builtins.readFile ./user-overrides.js} ${builtins.readFile ./user-overrides.js}
''; '';