home/{firefox,thunderbird}: remove ifd
This commit is contained in:
parent
134a4de797
commit
3d022f8639
2 changed files with 20 additions and 19 deletions
|
@ -1,19 +1,18 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles."default" = {
|
package = pkgs.firefox.override {
|
||||||
extraConfig = ''
|
extraPrefsFiles = [
|
||||||
${builtins.readFile (pkgs.fetchurl {
|
(pkgs.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=";
|
hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4=";
|
||||||
})}
|
})
|
||||||
${builtins.readFile ./user-overrides.js}
|
# FIXME: why I cannot use `[./user-overrides.js]`?
|
||||||
'';
|
(pkgs.runCommand "userjs" {} ''
|
||||||
|
install -Dm644 ${./user-overrides.js} $out
|
||||||
|
'')
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
profiles."default" = {};
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
MOZ_USE_XINPUT2 = "1";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.thunderbird = {
|
programs.thunderbird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.default = {
|
package = pkgs.thunderbird.override {
|
||||||
isDefault = true;
|
extraPrefsFiles = [
|
||||||
extraConfig = ''
|
(pkgs.fetchurl {
|
||||||
${builtins.readFile (pkgs.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=";
|
hash = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
|
||||||
})}
|
})
|
||||||
${builtins.readFile ./user-overrides.js}
|
# FIXME: why I cannot use `[./user-overrides.js]`?
|
||||||
'';
|
(pkgs.runCommand "userjs" {} ''
|
||||||
|
install -Dm644 ${./user-overrides.js} $out
|
||||||
|
'')
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
profiles.default.isDefault = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue