samueldr changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/
psyanticy has joined #nixops
<gchristensen> reposting from #nixos a while back, anyone know how networking.publicIPv4 ends up in some nixops physical specs but not others?
<clever> gchristensen: backend specific, or differences within a single backend? and which?
<gchristensen> I have some target="none" and some hetzner boxes
<gchristensen> and there doesn't seem to be a totally consistent pattern
<clever> gchristensen: plugin nixops or the old nixops?
<gchristensen> old nixops
<clever> it will read the .public_ipv4 property on the machine (which is stored in the sqlite state)
<clever> and if present, add it to the physical.nix
<clever> and the first time the machine is created, the ip will be copied from the definition to the state
<gchristensen> hrm
<clever> gchristensen: its a little fuzzy, but i think you can reproduce this fault if you `nixops deploy --build-only` before you set `deployment.targetIp`
<gchristensen> oh interesting
<gchristensen> thank you, clever !
psyanticy has quit [Quit: Connection closed for inactivity]