Do not use hardcoded ccr username

This commit is contained in:
Andrea Ciceri 2024-12-06 11:39:30 +01:00
parent 8ee594e06b
commit 796ecadf90
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -4,6 +4,7 @@
age, age,
hostname, hostname,
config, config,
username,
... ...
}: }:
{ {
@ -59,7 +60,7 @@
settings = { settings = {
daemon = { daemon = {
enabled = true; 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; auto_sync = true;
sync_frequency = "5m"; sync_frequency = "5m";