1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

atuin: Do not hard code prefix for daemon socket path

Autin looks for the XDG_DATA_HOME which may not be set as
$HOME/.local/share so lets use the systemd specifier for it instead.
This commit is contained in:
Manuel Mendez 2024-12-09 12:35:03 -05:00
parent 9ebaa80a22
commit 77a792a041

View file

@ -199,7 +199,7 @@ in {
Unit = { Description = "Atuin daemon socket"; }; Unit = { Description = "Atuin daemon socket"; };
Install = { WantedBy = [ "sockets.target" ]; }; Install = { WantedBy = [ "sockets.target" ]; };
Socket = { Socket = {
ListenStream = "%h/.local/share/atuin/atuin.sock"; ListenStream = "%D/atuin/atuin.sock";
SocketMode = "0600"; SocketMode = "0600";
RemoveOnStop = true; RemoveOnStop = true;
}; };