flake/home/applications/thunderbird/default.nix

19 lines
599 B
Nix
Raw Normal View History

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