flake/home/applications/thunderbird/default.nix

18 lines
599 B
Nix

{pkgs, ...}: {
programs.thunderbird = {
enable = true;
package = pkgs.thunderbird.override {
extraPrefsFiles = [
(pkgs.fetchurl {
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js";
hash = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
})
# FIXME: why I cannot use `[./user-overrides.js]`?
(pkgs.runCommand "userjs" {} ''
install -Dm644 ${./user-overrides.js} $out
'')
];
};
profiles.default.isDefault = true;
};
}