diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/at/atuin/module.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/modules/by-name/at/atuin/module.nix b/modules/by-name/at/atuin/module.nix index e55e358e..d68e830c 100644 --- a/modules/by-name/at/atuin/module.nix +++ b/modules/by-name/at/atuin/module.nix @@ -30,7 +30,7 @@ in { owner = "soispha"; group = "users"; }; - user_id = lib.mkIf cfg.enableAge { + atuin_user_id = lib.mkIf cfg.enableAge { file = ./secrets/user_id.age; mode = "700"; owner = "soispha"; @@ -39,17 +39,19 @@ in { }; soispha.programs.zsh.integrations.atuin = ./atuin.zsh; + soispha.services.unison.pathsToIgnore = [ + # Already synchronized by atuin sync server + "~/.local/share/atuin" + "~/.local/share/turtle" + ]; home-manager.users.soispha = { - programs.atuin = { - enable = true; - - package = externalBinaries.turtle.packages.${system}.default; + imports = [ + externalBinaries.turtle.nixosModules.home-manager + ]; - daemon.enable = true; - - # We can do this on our own. - enableZshIntegration = false; + programs.turtle = { + enable = true; settings = { sync = lib.mkIf cfg.enableAge { @@ -62,7 +64,7 @@ in { logs = { enabled = true; - dir = "${config.home-manager.users.soispha.xdg.cacheHome}/atuin/logs"; + dir = "${config.home-manager.users.soispha.xdg.cacheHome}/turtle/logs"; }; # Use the rather reasonable syntax of `skim` to search. |
