summaryrefslogtreecommitdiffstats
path: root/modules/by-name/at/atuin/module.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-27 01:40:23 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-29 00:08:53 +0100
commitc8cd98dba046113c900d432326df395a7c5219e4 (patch)
treec3a4629c2f90c5435e7a26925ddfc027bf6eda76 /modules/by-name/at/atuin/module.nix
parentmodules/age: Move to the vhack namespace (diff)
downloadnixos-config-c8cd98dba046113c900d432326df395a7c5219e4.zip
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.
Diffstat (limited to 'modules/by-name/at/atuin/module.nix')
-rw-r--r--modules/by-name/at/atuin/module.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/by-name/at/atuin/module.nix b/modules/by-name/at/atuin/module.nix
index b9e9645a..92c371c0 100644
--- a/modules/by-name/at/atuin/module.nix
+++ b/modules/by-name/at/atuin/module.nix
@@ -11,6 +11,8 @@
config,
lib,
extra_modules,
+ sources,
+ system,
...
}: let
cfg = config.soispha.programs.atuin;
@@ -56,6 +58,8 @@ in {
programs.turtle = {
enable = true;
+ package = sources.turtle.packages."${system}".default;
+
settings = {
sync = lib.mkIf cfg.enableAge {
encryption_key_path = "${config.age.secrets.atuin_encryption_key.path}";