infrastructure/config/hosts/yule/meta.nix
2021-08-18 02:25:15 +01:00

19 lines
484 B
Nix

{ config, lib, kw, ... }: with lib; {
config = {
deploy.targets.personal = {
tf = {
resources.yule = {
provider = "null";
type = "resource";
connection = {
port = head config.network.nodes.yule.services.openssh.ports;
host = config.network.nodes.yule.network.addresses.private.ipv4.address;
};
};
};
};
network.nodes.yule = {
imports = kw.nodeImport "yule";
};
};
}