From 738013df667484c1a844ac7136daff07e3cf79f0 Mon Sep 17 00:00:00 2001 From: servius Date: Sun, 22 Feb 2026 15:32:38 +0530 Subject: [PATCH] refactor: update mbsync settings for Fastmail and Neomutt --- home/accounts/fastmail.nix | 2 -- home/programs/neomutt.nix | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/home/accounts/fastmail.nix b/home/accounts/fastmail.nix index 42aef59c..64460a18 100644 --- a/home/accounts/fastmail.nix +++ b/home/accounts/fastmail.nix @@ -60,8 +60,6 @@ }; }; }; - programs.mbsync.enable = true; - services.mbsync.enable = pkgs.stdenv.isLinux; # accounts.email.accounts..mbsync.create # services.mbsync.enable = true; } diff --git a/home/programs/neomutt.nix b/home/programs/neomutt.nix index e17455e7..ae5223c5 100644 --- a/home/programs/neomutt.nix +++ b/home/programs/neomutt.nix @@ -37,4 +37,26 @@ in { ${pkgs.libnotify}/bin/notify-send "New Mail" "New email in $1" ''} %s"; }; + programs.mbsync.enable = true; + services.mbsync.enable = pkgs.stdenv.isLinux; + + # launchd.agents.mbsync = { + # enable = true; + # config = { + # # A label for the service + # Label = "dev.darksailor.atuin-daemon"; + # # The command to run + # ProgramArguments = [ + # "${pkgs.atuin}/bin/atuin" + # "daemon" + # ]; + # # Run the service when you log in + # RunAtLoad = true; + # # Keep the process alive, or restart if it dies + # KeepAlive = true; + # # Log files + # StandardOutPath = "${device.home}/Library/Logs/atuin-daemon.log"; + # StandardErrorPath = "${device.home}/Library/Logs/atuin-daemon.error.log"; + # }; + # }; }