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 (
|
example = eval (
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
providers.single-ssh-host =
|
providers.ssh-host =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
};
|
};
|
||||||
resources.bar.runtime-environment.single-ssh-host = {
|
resources.bar.runtime-environment.ssh-host = {
|
||||||
ssh = {
|
ssh = {
|
||||||
host = "localhost";
|
host = "localhost";
|
||||||
username = "root";
|
username = "root";
|
||||||
|
@ -50,8 +50,8 @@ in
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
has-provider = lib.isAttrs example.providers.single-ssh-host;
|
has-provider = lib.isAttrs example.providers.ssh-host;
|
||||||
has-resource = lib.isAttrs example.resources.bar.runtime-environment.single-ssh-host.module;
|
has-resource = lib.isAttrs example.resources.bar.runtime-environment.ssh-host.module;
|
||||||
has-application = lib.isAttrs example.applications.foo.module;
|
has-application = lib.isAttrs example.applications.foo.module;
|
||||||
has-deployment = lib.isAttrs example.deployments.baz.module;
|
has-deployment = lib.isAttrs example.deployments.baz.module;
|
||||||
has-migration = lib.isAttrs example.migrations.boo.deployment;
|
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.";
|
description = "A single host to deploy to by SSH.";
|
||||||
type = submodule {
|
type = submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue