From 796ecadf90e12c5dd54b6db49ea8eb8d1a24546d Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Fri, 6 Dec 2024 11:39:30 +0100 Subject: [PATCH] Do not use hardcoded `ccr` username --- hmModules/shell/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hmModules/shell/default.nix b/hmModules/shell/default.nix index fb10d92..1d68741 100644 --- a/hmModules/shell/default.nix +++ b/hmModules/shell/default.nix @@ -4,6 +4,7 @@ age, hostname, config, + username, ... }: { @@ -59,7 +60,7 @@ settings = { daemon = { enabled = true; - socket_path = "/home/ccr/.local/share/atuin/atuin.sock"; # FIXME using ~ or $HOME doesn't work: https://github.com/atuinsh/atuin/issues/2289 + socket_path = "/home/${username}/.local/share/atuin/atuin.sock"; # FIXME using ~ or $HOME doesn't work: https://github.com/atuinsh/atuin/issues/2289 }; auto_sync = true; sync_frequency = "5m";