summaryrefslogtreecommitdiff
path: root/modules/nixos/thunderbird.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-03-31 21:29:27 +0300
committerAzat Bahawi <azat@bahawi.net>2024-03-31 21:29:27 +0300
commit9a5427e3a0c0ccf2a82dc503149a26b23fbd6004 (patch)
treef28beec29deeea36038615a8fb98a810891940b5 /modules/nixos/thunderbird.nix
parent4ad0c3afc1f6caf0c3f05f99a15b22178f2c190b (diff)
2024-03-31
Diffstat (limited to 'modules/nixos/thunderbird.nix')
-rw-r--r--modules/nixos/thunderbird.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/modules/nixos/thunderbird.nix b/modules/nixos/thunderbird.nix
index 29ea9c9..74af3b5 100644
--- a/modules/nixos/thunderbird.nix
+++ b/modules/nixos/thunderbird.nix
@@ -1,11 +1,9 @@
-{
- config,
- lib,
- ...
-}:
-with lib; let
+{ config, lib, ... }:
+with lib;
+let
cfg = config.nixfiles.modules.thunderbird;
-in {
+in
+{
options.nixfiles.modules.thunderbird.enable = mkEnableOption "Thunderbird";
config = mkIf cfg.enable {
@@ -20,7 +18,8 @@ in {
isDefault = true;
withExternalGnupg = true;
# https://github.com/HorlogeSkynet/thunderbird-user.js/blob/master/user.js
- settings = with config.colors.withHashtag;
+ settings =
+ with config.colors.withHashtag;
config.hm.programs.firefox.profiles.default.settings
// {
"app.donation.eoy.version.viewed" = 999;