From 356363909b5c8d818eb091dc4548a576dabb9d20 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 23 Jun 2024 22:55:42 +0800 Subject: [PATCH] home/{firefox,thunderbird}: remove ifd --- home/applications/firefox/default.nix | 9 ++------- home/applications/thunderbird/default.nix | 5 ++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/home/applications/firefox/default.nix b/home/applications/firefox/default.nix index db2f0fc..e4bf348 100644 --- a/home/applications/firefox/default.nix +++ b/home/applications/firefox/default.nix @@ -3,17 +3,12 @@ enable = true; profiles."default" = { extraConfig = '' - ${builtins.readFile (pkgs.fetchurl { - # FIXME: IFD + ${builtins.readFile (builtins.fetchurl { url = "https://raw.githubusercontent.com/arkenfox/user.js/126.1/user.js"; - hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4="; + sha256 = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4="; })} ${builtins.readFile ./user-overrides.js} ''; }; }; - - home.sessionVariables = { - MOZ_USE_XINPUT2 = "1"; - }; } diff --git a/home/applications/thunderbird/default.nix b/home/applications/thunderbird/default.nix index 5b7628d..80ba74b 100644 --- a/home/applications/thunderbird/default.nix +++ b/home/applications/thunderbird/default.nix @@ -4,10 +4,9 @@ profiles.default = { isDefault = true; extraConfig = '' - ${builtins.readFile (pkgs.fetchurl { - # FIXME: IFD + ${builtins.readFile (builtins.fetchurl { 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} '';