about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/neomutt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/neomutt/default.nix')
-rw-r--r--modules/home.legacy/conf/neomutt/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/neomutt/default.nix b/modules/home.legacy/conf/neomutt/default.nix
index e4fbcb39..5947e675 100644
--- a/modules/home.legacy/conf/neomutt/default.nix
+++ b/modules/home.legacy/conf/neomutt/default.nix
@@ -1,9 +1,23 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 {pkgs, ...}: {
   programs.neomutt = {
     enable = true;
     package = pkgs.writeShellScriptBin "neomutt" ''
+      # Download newest mail
       systemctl --user start mbsync.service;
+
       ${pkgs.neomutt}/bin/neomutt;
+
+      # Upload changed things (e.g., new mail in Sent)
+      systemctl --user start mbsync.service;
     '';
     vimKeys = false; # see the modified ones below
     checkStatsInterval = 60;