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:
parent
608b26d16e
commit
6aa38ffdf7
1 changed files with 7 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue