mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
20 lines
499 B
Nix
20 lines
499 B
Nix
{ config, lib, kw, ... }: with lib; {
|
|
config = {
|
|
deploy.targets.beltane = {
|
|
tf = {
|
|
resources.beltane = {
|
|
provider = "null";
|
|
type = "resource";
|
|
connection = {
|
|
port = head config.network.nodes.beltane.services.openssh.ports;
|
|
host = config.network.nodes.beltane.network.addresses.private.ipv4.address;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
network.nodes.beltane = {
|
|
imports = kw.nodeImport "beltane";
|
|
};
|
|
};
|
|
}
|
|
|