Add thunderbird

Thunderbird must be installed manually on darwin. See https://github.com/nix-community/home-manager/issues/3407
This commit is contained in:
Sridhar Ratnakumar 2024-10-06 14:30:38 -04:00 committed by Sridhar Ratnakumar
parent 6388b11467
commit 390acba816
4 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{
# https://github.com/nix-community/home-manager/issues/3407#issuecomment-1312712582
launchd.user.envVariables = {
MOZ_LEGACY_PROFILES = "1"; # thunderbird
MOZ_ALLOW_DOWNGRADE = "1"; # thunderbird
};
}

View file

@ -16,5 +16,6 @@ in
self.nixosModules.common
inputs.ragenix.darwinModules.default
./all/zsh-completion-fix.nix
./all/thunderbird.nix
];
}

View file

@ -15,6 +15,7 @@ in
{
imports = [
./himalaya.nix
./thunderbird.nix
];
accounts.email.accounts = {
"srid@srid.ca" = iCloudMailSettings // {

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
programs.thunderbird = {
enable = true;
# Thunderbird package is unavailable for Darwin.
# Install the app manually.
package = pkgs.hello;
profiles."default" = {
isDefault = true;
};
};
accounts.email.accounts = {
"srid@srid.ca" = {
thunderbird = {
enable = true;
};
};
};
}