mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
Add thunderbird
Thunderbird must be installed manually on darwin. See https://github.com/nix-community/home-manager/issues/3407
This commit is contained in:
parent
6388b11467
commit
390acba816
4 changed files with 31 additions and 0 deletions
7
modules/darwin/all/thunderbird.nix
Normal file
7
modules/darwin/all/thunderbird.nix
Normal 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
|
||||
};
|
||||
}
|
||||
|
|
@ -16,5 +16,6 @@ in
|
|||
self.nixosModules.common
|
||||
inputs.ragenix.darwinModules.default
|
||||
./all/zsh-completion-fix.nix
|
||||
./all/thunderbird.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
./himalaya.nix
|
||||
./thunderbird.nix
|
||||
];
|
||||
accounts.email.accounts = {
|
||||
"srid@srid.ca" = iCloudMailSettings // {
|
||||
|
|
|
|||
22
modules/home/all/email/thunderbird.nix
Normal file
22
modules/home/all/email/thunderbird.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue