!UUqahLbShAYkkrXmKs:matrix.org

DevOS

34 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
10 Aug 2021
@gtrunsec:matrix.org@gtrunsec:matrix.org
In reply to @blaggacao:matrix.org
That seems strange though, they appear to be consumed as normal nixos configs here: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/build-vms.nix
Sorry, my bad both ok
02:19:50
@blaggacao:matrix.orgDavid Arnold (blaggacao) I'm currently trying to tame yeet (a.k.a. deploy-rs) to add fhe possibility to do the initial installation onto a non-NixOS host with a ssh access via yeet 02:22:09
@blaggacao:matrix.orgDavid Arnold (blaggacao) (so we can drop the [brittle] upstream installers from nixpkgs) 02:22:55
@blaggacao:matrix.orgDavid Arnold (blaggacao)* I'm currently trying to tame `yeet` (a.k.a. `deploy-rs`) to add the possibility to do the initial installation onto a non-NixOS host with a ssh access via `yeet`02:23:12
@kraftnix:matrix.org@kraftnix:matrix.orgsomething like nixos-infect style install? or just home install02:23:16
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @kraftnix:matrix.org
something like nixos-infect style install? or just home install
I'm just trying to replicate nixos-install onto a mount place of one's chosing (can be /)
02:24:09
@blaggacao:matrix.orgDavid Arnold (blaggacao)Not sure how nixos-infect differs.02:24:29
@blaggacao:matrix.orgDavid Arnold (blaggacao)I'd have to have a look.02:24:35
@kraftnix:matrix.org@kraftnix:matrix.orgah that, yes that would be extremely useful and save me a lot of time during bootstrap02:24:39
@kraftnix:matrix.org@kraftnix:matrix.orgnixos-infect is designed to infect something like ubuntu/arch etc. and create a nixos system in place, i used it a long time ago when a VPS didn't support uploading isos or provide nixos02:25:35
@gtrunsec:matrix.org@gtrunsec:matrix.orgif Non-NixOS how do you solve the target build host? like https://github.com/serokell/deploy-rs/issues/12 02:25:49
@blaggacao:matrix.orgDavid Arnold (blaggacao)Well it's built locally and the pushed to the mountpoint and activated and via nixos-enter the bootloder will be installed.02:27:16
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Well it's built locally and the pushed to then mountpoint and activated and via nixos-enter the bootloder will be installed.02:27:27
@blaggacao:matrix.orgDavid Arnold (blaggacao) nixos-infect trues to be too smart, I feel. 02:27:54
@blaggacao:matrix.orgDavid Arnold (blaggacao)For do, you'd create a single boostrap image and then launch droplets from it. And make sure it has your pubkey and then boistrap the actual non-anonymous host from it.02:28:31
@blaggacao:matrix.orgDavid Arnold (blaggacao)* For do, you'd create a single boostrap image and then launch droplets from it. And make sure it has your pubkey and then bootstrap the actual non-anonymous host from it.02:28:42
@blaggacao:matrix.orgDavid Arnold (blaggacao)* For do, you'd create a single bootstrap image and then launch droplets from it. And make sure it has your pubkey and then bootstrap the actual non-anonymous host from it.02:28:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Well it's built locally and then pushed to then mount-point and activated and via nixos-enter the bootloder will be installed.02:29:01
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Well it's built locally and then pushed to then mount-point and activated and via nixos-enter the bootloader will be installed.02:29:07
@blaggacao:matrix.orgDavid Arnold (blaggacao)* `nixos-infect` tries to be too smart, I feel.02:29:21
@blaggacao:matrix.orgDavid Arnold (blaggacao)Not sure why nixos-infect has had it's inplementation so complicated?02:30:26
@blaggacao:matrix.orgDavid Arnold (blaggacao)Maybe to procure a different cli UX.02:30:41
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @blaggacao:matrix.org
nixos-infect tries to be too smart, I feel.
probably, although it definitely impressed me that nixos could do that when i was first starting out
02:30:51
@blaggacao:matrix.orgDavid Arnold (blaggacao)Hahah, as tim wrote in the Foreword. The system is just a package (file tree)02:31:23
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Hahah, as Tim wrote in the Foreword. The system is just a package (file tree)02:31:34
@kraftnix:matrix.org@kraftnix:matrix.orgtheres a difference between thinking that and seeing it done :) 02:31:54
@blaggacao:matrix.orgDavid Arnold (blaggacao) So I guess yeet --mount-point '/mnt' should be soon able to install nixos remotely (after manual formatting) 02:33:25
@kraftnix:matrix.org@kraftnix:matrix.orgi will be very happy to test that feature out02:34:04
@blaggacao:matrix.orgDavid Arnold (blaggacao)But nothing hinders anybody, to write a formatting script into the deploy-rs activation script as well.02:34:15
@blaggacao:matrix.orgDavid Arnold (blaggacao)Ah no! That would have to be run earlier.02:34:32

Show newer messages


Back to Room ListRoom Version: 6