From d135c94afabf74781d98fe3fe7b1111898f14869 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Mon, 30 Jun 2025 17:22:27 +0200 Subject: [PATCH] rename single-ssh-host for brevity --- deployment/data-model-test.nix | 8 ++++---- deployment/data-model.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment/data-model-test.nix b/deployment/data-model-test.nix index 16a5caaf..5e2d51c4 100644 --- a/deployment/data-model-test.nix +++ b/deployment/data-model-test.nix @@ -19,12 +19,12 @@ in example = eval ( { config, ... }: { - providers.single-ssh-host = + providers.ssh-host = { ... }: { system.stateVersion = "25.05"; }; - resources.bar.runtime-environment.single-ssh-host = { + resources.bar.runtime-environment.ssh-host = { ssh = { host = "localhost"; username = "root"; @@ -50,8 +50,8 @@ in ); in { - has-provider = lib.isAttrs example.providers.single-ssh-host; - has-resource = lib.isAttrs example.resources.bar.runtime-environment.single-ssh-host.module; + has-provider = lib.isAttrs example.providers.ssh-host; + has-resource = lib.isAttrs example.resources.bar.runtime-environment.ssh-host.module; has-application = lib.isAttrs example.applications.foo.module; has-deployment = lib.isAttrs example.deployments.baz.module; has-migration = lib.isAttrs example.migrations.boo.deployment; diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 2a52728c..fedbd2f7 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -54,7 +54,7 @@ let }; }; }; - single-ssh-host = { + ssh-host = { description = "A single host to deploy to by SSH."; type = submodule { options = {