| 4 Jun 2021 |
Buckley | outer
`inner`
| 20:10:34 |
Buckley | (just testing what that did ^) | 20:10:45 |
manveru | ssh "$(nix eval --raw .#deploy.nodes.abaddon.hostname)" -- echo hi | 20:10:46 |
manveru | is more proper anyway | 20:10:50 |
manveru | anw, yeah, i also built a tool for work called bitte, that does bitte ssh <host> or bitte rebuild <host> | 20:11:32 |
Buckley | i have one folder per host in my repo, and in that folder is a config file that says what its DNS name is, and its SSH public key, and then sort of dynamically build its access method. | 20:12:02 |
manveru | mostly because it first has to look up the host in terraform state | 20:12:04 |
| 5 Jun 2021 |
Church | Heh | 02:00:01 |
Church | Please ssh. 😛 | 02:00:09 |
hexa | In reply to @manveru:matrix.org uh, matrix doesn't like nesting those quotes
It
is
complicated
| 02:25:06 |
| kraftnix joined the room. | 11:44:24 |
mutantmell | I have a machine that I need to pave, which has a Digital Ocean machine that it manages the deployments of via NixOps. What's the easiest way to migrate the DO VM off of a NixOps deployment, either temporarily or permanently?
I took a look at the (1.7?) manual and didn't see a way to do that | 19:31:19 |
Buckley | i think you can just go to that machine and do a nixos-rebuild locally | 20:17:03 |
Buckley | just check your channels on that system first | 20:17:21 |
Buckley | (if not using flakes) | 20:17:42 |
mutantmell | I am not using flakes - that's part of what is prompting the working of my stuff :) | 20:18:11 |
Zhaofeng Li | Do not do nixos-rebuild as it will use the (probably ancient) configs at /etc/nixos | 20:18:15 |
Buckley | well yeah you need to move your config too | 20:18:38 |
Buckley | should have said that :$ | 20:18:43 |
mutantmell | yeah, i think it's using 17.09 | 20:18:50 |
mutantmell | confirmed | 20:19:02 |
mutantmell | so what I'm hearing is:
- migrate the config
- update the channel
- rebuild
and I'll probably have to add my ssh key to the config to make sure it's accessible
| 20:21:56 |
mutantmell | thanks! | 20:22:01 |
mutantmell | * I am not using flakes - that's part of what is prompting the reworking of my stuff :) | 20:24:12 |
| 6 Jun 2021 |
| notgne2 joined the room. | 06:14:57 |
| wander joined the room. | 07:59:23 |
| Valodim joined the room. | 12:56:27 |
| David Arnold joined the room. | 20:16:16 |
| 7 Jun 2021 |
David Arnold | In reply to @arianvp:matrix.org Has anybody worked on pull-based deployment models vs push-based? It would be marvelous to have one day a fluxcd adapter for nix: https://fluxcd.io/docs/gitops-toolkit/source-watcher/ | 04:52:58 |
David Arnold | FluxCD in general might be good source of inspiration for that use case, you describe. | 04:53:35 |