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 = {