Skip to content

Commit

Permalink
atuin: set socket path for darwin
Browse files Browse the repository at this point in the history
The daemon doesn't know about XDG_RUNTIME_DIR, so set the socket_path
manually for consistency between daemon & client
  • Loading branch information
utkarshgupta137 committed Jan 6, 2025
1 parent 172b91b commit 41b6d0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/programs/atuin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 41b6d0e

Please sign in to comment.