mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
10 lines
339 B
Nix
10 lines
339 B
Nix
{ config, lib, ... }: {
|
|
deploy.tf.resources.${config.networking.hostName} = {
|
|
provider = "null";
|
|
type = "resource";
|
|
connection = {
|
|
port = lib.head config.services.openssh.ports;
|
|
host = if config.networks.gensokyo.interfaces != [] then config.networks.gensokyo.ipv4 else config.networks.chitei.ipv4;
|
|
};
|
|
};
|
|
}
|