diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 22:07:08 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 22:07:08 +0200 |
| commit | 17b4ee1f87c6645302240b72503e70c869b3e60f (patch) | |
| tree | 2cd8300d89c98b41fe35163f3ef048fb29bfc008 /modules/by-name/at/atuin-sync/module.nix | |
| parent | scripts/check.sh: Improve readability (diff) | |
| download | nixos-server-17b4ee1f87c6645302240b72503e70c869b3e60f.zip | |
modules/atuin-sync: Replace `atuin` with `turtle`
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/at/atuin-sync/module.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/by-name/at/atuin-sync/module.nix b/modules/by-name/at/atuin-sync/module.nix index e0d75bb..4295697 100644 --- a/modules/by-name/at/atuin-sync/module.nix +++ b/modules/by-name/at/atuin-sync/module.nix @@ -1,13 +1,12 @@ { config, lib, - vhackPackages, ... }: let cfg = config.vhack.atuin-sync; in { options.vhack.atuin-sync = { - enable = lib.mkEnableOption "atuin sync server"; + enable = lib.mkEnableOption "atuin (turtle) sync server"; fqdn = lib.mkOption { description = "The fully qualified domain name of this instance."; @@ -19,17 +18,13 @@ in { config = lib.mkIf cfg.enable { vhack.nginx.enable = true; - vhack.anubis.instances."${cfg.fqdn}".target = "http://127.0.0.1:${toString config.services.atuin.port}"; + vhack.anubis.instances."${cfg.fqdn}".target = "http://127.0.0.1:${toString config.services.turtle.port}"; services = { - atuin = { + turtle = { enable = true; - package = vhackPackages.atuin-server-only; host = "127.0.0.1"; - # Nobody knows about the fqdn and even if, they can only upload encrypted blobs. - openRegistration = true; - database.createLocally = true; }; }; |
