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