mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
thunderbird: fix accounts being removed (#6959)
Even if no accounts were configured, it was defaulting to just account1, which meant all other accounts were deleted every time thunderbird was restarted. This fixes that by defaulting to the empty list (so it remains unset in the user.js).
This commit is contained in:
parent
123297c57e
commit
c0962eeeab
1 changed files with 3 additions and 1 deletions
|
|
@ -704,7 +704,9 @@ in
|
|||
"account1"
|
||||
];
|
||||
in
|
||||
accountsOrderIds ++ (lib.lists.subtractLists accountsOrderIds enabledAccountsIds);
|
||||
lib.optionals (accounts != [ ]) (
|
||||
accountsOrderIds ++ (lib.lists.subtractLists accountsOrderIds enabledAccountsIds)
|
||||
);
|
||||
in
|
||||
{
|
||||
text = mkUserJs (builtins.foldl' (a: b: a // b) { } (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue