1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-30 21:05:02 +01:00

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
This commit is contained in:
Utkarsh Gupta 2025-01-29 22:09:34 +00:00 committed by GitHub
parent 608b26d16e
commit 6aa38ffdf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = {