!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1237 Members
NixOS Deployment tooling302 Servers

Load older messages


SenderMessageTime
4 Jun 2021
@buckley310:matrix.orgBuckley
outer
`inner`
20:10:34
@buckley310:matrix.orgBuckley(just testing what that did ^)20:10:45
@manveru:matrix.orgmanveru ssh "$(nix eval --raw .#deploy.nodes.abaddon.hostname)" -- echo hi 20:10:46
@manveru:matrix.orgmanveruis more proper anyway20:10:50
@manveru:matrix.orgmanveru anw, yeah, i also built a tool for work called bitte, that does bitte ssh <host> or bitte rebuild <host> 20:11:32
@buckley310:matrix.orgBuckleyi 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:matrix.orgmanverumostly because it first has to look up the host in terraform state20:12:04
5 Jun 2021
@noah:matrix.chatsubo.cafeChurchHeh02:00:01
@noah:matrix.chatsubo.cafeChurchPlease ssh. 😛02:00:09
@hexa:lossy.networkhexa
In reply to @manveru:matrix.org
uh, matrix doesn't like nesting those quotes
It
is
complicated
02:25:06
@kraftnix:matrix.orgkraftnix joined the room.11:44:24
@mutantmell:helveticastandard.commutantmellI 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 that19:31:19
@buckley310:matrix.orgBuckleyi think you can just go to that machine and do a nixos-rebuild locally20:17:03
@buckley310:matrix.orgBuckleyjust check your channels on that system first 20:17:21
@buckley310:matrix.orgBuckley(if not using flakes)20:17:42
@mutantmell:helveticastandard.commutantmellI am not using flakes - that's part of what is prompting the working of my stuff :)20:18:11
@zhaofeng:zhaofeng.liZhaofeng Li Do not do nixos-rebuild as it will use the (probably ancient) configs at /etc/nixos 20:18:15
@buckley310:matrix.orgBuckleywell yeah you need to move your config too20:18:38
@buckley310:matrix.orgBuckleyshould have said that :$20:18:43
@mutantmell:helveticastandard.commutantmellyeah, i think it's using 17.0920:18:50
@mutantmell:helveticastandard.commutantmellconfirmed20:19:02
@mutantmell:helveticastandard.commutantmell

so what I'm hearing is:

  1. migrate the config
  2. update the channel
  3. rebuild

and I'll probably have to add my ssh key to the config to make sure it's accessible

20:21:56
@mutantmell:helveticastandard.commutantmellthanks!20:22:01
@mutantmell:helveticastandard.commutantmell * I am not using flakes - that's part of what is prompting the reworking of my stuff :)20:24:12
6 Jun 2021
@notgne2:wizbos.clubnotgne2 joined the room.06:14:57
@wander:ncrypt.atwander joined the room.07:59:23
@Valodim:stratum0.orgValodim joined the room.12:56:27
@blaggacao:matrix.orgDavid Arnold joined the room.20:16:16
7 Jun 2021
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid ArnoldFluxCD in general might be good source of inspiration for that use case, you describe.04:53:35

Show newer messages


Back to Room ListRoom Version: 6