-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3acb54d
commit 01ca2f0
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,9 +38,7 @@ in | |
vesktop | ||
keepassxc | ||
|
||
dotties.bluemail-with-gpu | ||
firefox | ||
thunderbird | ||
|
||
playerctl | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
lib, | ||
namespace, | ||
config, | ||
... | ||
}: | ||
let | ||
inherit (lib) mkIf mkOption; | ||
inherit (lib.${namespace}) mkOpt; | ||
|
||
cfg = config.${namespace}.apps.thunderbird; | ||
in | ||
{ | ||
options.${namespace}.apps.thunderbird = { | ||
enable = mkOpt lib.types.bool false "whether to enable thunderbird mail client."; | ||
exchangeSupport = mkOpt lib.types.bool true "whether to enable exchange support for mail clients"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
programs.thunderbird.enable = true; | ||
|
||
services.davmail = mkIf cfg.exchangeSupport { | ||
enable = true; | ||
url = "https://outlook.office365.com/EWS/Exchange.asmx"; | ||
}; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ in | |
|
||
apps = { | ||
thunar = enabled; | ||
thunderbird = enabled; | ||
}; | ||
|
||
dms.sddm = { | ||
|