Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thunderbird #65

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/darwin/all/thunderbird.nix
Original file line number Diff line number Diff line change
@@ -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
};
}
1 change: 1 addition & 0 deletions modules/darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ in
self.nixosModules.common
inputs.ragenix.darwinModules.default
./all/zsh-completion-fix.nix
./all/thunderbird.nix
];
}
1 change: 1 addition & 0 deletions modules/home/all/email/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ in
{
imports = [
./himalaya.nix
./thunderbird.nix
];
accounts.email.accounts = {
"[email protected]" = iCloudMailSettings // {
Expand Down
22 changes: 22 additions & 0 deletions modules/home/all/email/thunderbird.nix
Original file line number Diff line number Diff line change
@@ -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 = {
"[email protected]" = {
thunderbird = {
enable = true;
};
};
};
}