infrastructure/hardware/manual.nix
2022-09-18 10:09:32 -07:00

12 lines
283 B
Nix

{ config, lib, ... }: {
deploy.tf = {
resources.${config.networking.hostName} = {
provider = "null";
type = "resource";
connection = {
port = lib.head config.services.openssh.ports;
host = config.networks.internet.ipv4;
};
};
};
}