From 6c3f8796b4c81ef21cc8e357e79e355831294f8f Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.dev> Date: Tue, 18 Mar 2025 02:45:41 +0000 Subject: [PATCH] Move mbsync configuration to XDG_CONFIG_HOME --- nix/modules/home-manager/cli/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/modules/home-manager/cli/zsh.nix b/nix/modules/home-manager/cli/zsh.nix index 8cf21e4a..fe48e0f4 100644 --- a/nix/modules/home-manager/cli/zsh.nix +++ b/nix/modules/home-manager/cli/zsh.nix @@ -68,6 +68,10 @@ esac } + mbsync() { + ${pkgs.isync}/bin/mbsync --config "${config.xdg.configHome}/isync/mbsyncrc" "''${@}" + } + ttyper() { command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}" }