diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-23 21:50:41 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-23 21:59:57 +0200 |
| commit | 5e94f587035f229fa75b4e1a1560a90a7f74d2b4 (patch) | |
| tree | d69dbd74f360715dfafaeb4ad41566bb4524837e | |
| parent | modules/lf: Rewrite `ll` and `lm` to fish's syntax (diff) | |
| download | nixos-config-5e94f587035f229fa75b4e1a1560a90a7f74d2b4.zip | |
modules/atuin: Use the turtle hm module
| -rw-r--r-- | modules/by-name/at/atuin/module.nix | 17 | ||||
| -rw-r--r-- | unflake.nix | 8 |
2 files changed, 11 insertions, 14 deletions
diff --git a/modules/by-name/at/atuin/module.nix b/modules/by-name/at/atuin/module.nix index 81a97c26..d68e830c 100644 --- a/modules/by-name/at/atuin/module.nix +++ b/modules/by-name/at/atuin/module.nix @@ -42,19 +42,16 @@ in { 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 (and have to) do this on our own. - enableZshIntegration = false; - enableFishIntegration = false; + programs.turtle = { + enable = true; settings = { sync = lib.mkIf cfg.enableAge { @@ -67,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. diff --git a/unflake.nix b/unflake.nix index b0d2732a..b6bce519 100644 --- a/unflake.nix +++ b/unflake.nix @@ -159,10 +159,10 @@ let type = "git"; url = "https://git.foss-syndicate.org/bpeetz/forks/atuin"; ref = "main"; - rev = "d5a9a76c0755e668ddefaa65edd4543898646678"; - revCount = 1858; - lastModified = 1787507226; - narHash = "sha256-BGhcURdG+B4Lm7iZUaZDReBuHCNWEWUG5/aM3gDQitw="; + rev = "8ef03a3027f14eca88e2b283d4b70d5a4fcbbde2"; + revCount = 1859; + lastModified = 1787514975; + narHash = "sha256-Y5uiyc7NoWXB+r0P48r48ngaHpGiVGRnOb8TyGxyC+o="; }; unflake_git_https---git-lix-systems-lix-project-flake-compat_ref_main = { type = "git"; |
