forked from Fediversity/Fediversity
rename single-ssh-host for brevity
This commit is contained in:
parent
c764c0f7b6
commit
d135c94afa
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -54,7 +54,7 @@ let
|
|||
};
|
||||
};
|
||||
};
|
||||
single-ssh-host = {
|
||||
ssh-host = {
|
||||
description = "A single host to deploy to by SSH.";
|
||||
type = submodule {
|
||||
options = {
|
||||
|
|
Loading…
Add table
Reference in a new issue