From 6aa38ffdf77fb4250f5d832fd5a09eb99226fba7 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta <5155100+utkarshgupta137@users.noreply.github.com> Date: Wed, 29 Jan 2025 22:09:34 +0000 Subject: [PATCH] atuin: set socket path for darwin (#6248) The daemon doesn't know about XDG_RUNTIME_DIR, so set the socket_path manually for consistency between daemon & client --- modules/programs/atuin.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/programs/atuin.nix b/modules/programs/atuin.nix index b57cc142a..9160edd3f 100644 --- a/modules/programs/atuin.nix +++ b/modules/programs/atuin.nix @@ -211,6 +211,13 @@ in { }; }) (mkIf isDarwin { + programs.atuin.settings = { + daemon = { + socket_path = + lib.mkDefault "${config.xdg.dataHome}/atuin/daemon.sock"; + }; + }; + launchd.agents.atuin-daemon = { enable = true; config = {