diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
| commit | fc019d789523ce5f89436b8dbc458cf3b79abf43 (patch) | |
| tree | ec56fd1b1ed9fc75096c0b09db48a152975e4d53 /modules/home-manager/personal/programs/thunderbird.nix | |
| parent | a3d19bc509d9f39fb41256cd55d2bd7706de202f (diff) | |
reformat everything with nixfmt
Diffstat (limited to 'modules/home-manager/personal/programs/thunderbird.nix')
| -rw-r--r-- | modules/home-manager/personal/programs/thunderbird.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/home-manager/personal/programs/thunderbird.nix b/modules/home-manager/personal/programs/thunderbird.nix index c904dd5..d68a5df 100644 --- a/modules/home-manager/personal/programs/thunderbird.nix +++ b/modules/home-manager/personal/programs/thunderbird.nix @@ -3,7 +3,8 @@ lib, pkgs, ... -}: let +}: +let configDefault = builtins.readFile "${pkgs.personal.static.userjs.thunderbird}" + pkgs.lib.personal.toUserJS { @@ -37,7 +38,8 @@ ## Spam "mail.spam.manualMark" = true; # move manually marked-as-junk to junk folder }; -in { +in +{ config = lib.mkMerge [ { programs.thunderbird = { @@ -50,8 +52,8 @@ in { (lib.mkIf config.programs.thunderbird.enable { home.file.".thunderbird/default/user.js".text = configDefault; xdg.mimeApps.defaultApplications = { - "x-scheme-handler/mailto" = ["thunderbird.desktop"]; - "application/x-xpinstall" = ["thunderbird.desktop"]; + "x-scheme-handler/mailto" = [ "thunderbird.desktop" ]; + "application/x-xpinstall" = [ "thunderbird.desktop" ]; }; }) ]; |
