diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-10-30 15:22:07 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:27:17 +0100 |
| commit | 4834ad1ea13358f3f23e0139e3a8a3d1ccb804e2 (patch) | |
| tree | 60b588b2d979bce6a6d19bd7acc0af05c90f12fd /modules/vhack/at/atuin-sync | |
| parent | treewide: Various fixes (diff) | |
| download | nixos-server-4834ad1ea13358f3f23e0139e3a8a3d1ccb804e2.zip | |
modules: Rename back to `by-name`
There is no point in keeping just vhack here.
Diffstat (limited to 'modules/vhack/at/atuin-sync')
| -rw-r--r-- | modules/vhack/at/atuin-sync/module.nix | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/modules/vhack/at/atuin-sync/module.nix b/modules/vhack/at/atuin-sync/module.nix deleted file mode 100644 index 4295697..0000000 --- a/modules/vhack/at/atuin-sync/module.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.vhack.atuin-sync; -in { - options.vhack.atuin-sync = { - enable = lib.mkEnableOption "atuin (turtle) sync server"; - - fqdn = lib.mkOption { - description = "The fully qualified domain name of this instance."; - type = lib.types.str; - example = "atuin-sync.atuin.sh"; - }; - }; - - config = lib.mkIf cfg.enable { - vhack.nginx.enable = true; - - vhack.anubis.instances."${cfg.fqdn}".target = "http://127.0.0.1:${toString config.services.turtle.port}"; - - services = { - turtle = { - enable = true; - host = "127.0.0.1"; - - database.createLocally = true; - }; - }; - }; -} |
