about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:34:53 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:36:38 +0200
commit6a08847b20408334517d8e1293bdb6b52fac2b7b (patch)
treefad3d9371a3e306918bad1a02123e0220ebe1bf2 /modules
parentmodules/{git,fonts,starship}: Avoid using deprecated escapes (diff)
downloadnixos-config-6a08847b20408334517d8e1293bdb6b52fac2b7b.zip
modules/atuin: Use a dedicated log directory instead of one in `$HOME`
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/at/atuin/module.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/by-name/at/atuin/module.nix b/modules/by-name/at/atuin/module.nix
index e18e458e..6cf8a396 100644
--- a/modules/by-name/at/atuin/module.nix
+++ b/modules/by-name/at/atuin/module.nix
@@ -54,6 +54,11 @@ in {
           auto_sync = lib.mkIf cfg.enableAge true;
           sync_address = lib.mkIf cfg.enableAge "https://atuin-sync.vhack.eu";
 
+          logs = {
+            enabled = true;
+            dir = "${config.home-manager.users.soispha.xdg.cacheHome}/atuin/logs";
+          };
+
           # Use the rather reasonable syntax of `skim` to search.
           search_mode = "skim";