diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 01:40:23 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 01:42:04 +0100 |
| commit | 186b0225a116dd1e86d5e1d64f365c9fe56e8bda (patch) | |
| tree | 424a789bd1a0afc2136af9b09ad5cadc5bf330aa /modules/by-name | |
| parent | modules/disko: Make explicit that it is only for vhack servers (diff) | |
| download | nixos-server-186b0225a116dd1e86d5e1d64f365c9fe56e8bda.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')
| -rw-r--r-- | modules/by-name/at/atuin-sync/module.nix | 9 |
1 files changed, 9 insertions, 0 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; |
