From 77a792a0418227e69a2ba26728b47f2b8cf3b6ec Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Mon, 9 Dec 2024 12:35:03 -0500 Subject: [PATCH] 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. --- modules/programs/atuin.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/atuin.nix b/modules/programs/atuin.nix index 269aa70b5..32898c7cb 100644 --- a/modules/programs/atuin.nix +++ b/modules/programs/atuin.nix @@ -199,7 +199,7 @@ in { Unit = { Description = "Atuin daemon socket"; }; Install = { WantedBy = [ "sockets.target" ]; }; Socket = { - ListenStream = "%h/.local/share/atuin/atuin.sock"; + ListenStream = "%D/atuin/atuin.sock"; SocketMode = "0600"; RemoveOnStop = true; };