From 186b0225a116dd1e86d5e1d64f365c9fe56e8bda Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Fri, 27 Nov 2026 01:40:23 +0100 Subject: modules/{atuin,atuin-sync}: Import the `turtle` module in both Both depend on `turtle` and it just makes sense if they are supposed to be imported on their own. --- modules/by-name/at/atuin-sync/module.nix | 9 +++++++++ unflake.nix | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/modules/by-name/at/atuin-sync/module.nix b/modules/by-name/at/atuin-sync/module.nix index 4295697..bf02197 100644 --- a/modules/by-name/at/atuin-sync/module.nix +++ b/modules/by-name/at/atuin-sync/module.nix @@ -1,10 +1,17 @@ { config, lib, + extra_modules, + sources, + system, ... }: let cfg = config.vhack.atuin-sync; in { + imports = [ + extra_modules.nixos.turtle + ]; + options.vhack.atuin-sync = { enable = lib.mkEnableOption "atuin (turtle) sync server"; @@ -23,6 +30,8 @@ in { services = { turtle = { enable = true; + package = sources.turtle.packages."${system}".default; + host = "127.0.0.1"; database.createLocally = true; diff --git a/unflake.nix b/unflake.nix index f9632a5..efc9cd8 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 = "a4ceeaba66cc68ed9d89860606d1c2b1818cdb73"; - revCount = 1868; - lastModified = 1793645398; - narHash = "sha256-mf/mFA0ik4ccJfYZPew9eKnrjkgHFjsx8zpKH4JNgXM="; + rev = "fca5a69277f633e2759904c3046635ef541fc341"; + revCount = 1869; + lastModified = 1795739727; + narHash = "sha256-GACs6gsABpIJFN9MeZX/r1sdWw7ORM59tUkUOnKaim4="; }; unflake_git_https---git-lix-systems-lix-project-flake-compat_ref_main = { type = "git"; -- cgit v1.3.1