infrastructure/config/hosts/samhain/meta.nix
2021-08-24 01:44:49 +01:00

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";
};
};
}