10 Aug 2021 |
@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 |
David 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 |
David Arnold (blaggacao) | (so we can drop the [brittle] upstream installers from nixpkgs ) | 02:22:55 |
David 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 | something like nixos-infect style install? or just home install | 02:23:16 |
David 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 |
David Arnold (blaggacao) | Not sure how nixos-infect differs. | 02:24:29 |
David Arnold (blaggacao) | I'd have to have a look. | 02:24:35 |
@kraftnix:matrix.org | ah that, yes that would be extremely useful and save me a lot of time during bootstrap | 02:24:39 |
@kraftnix:matrix.org | nixos-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 nixos | 02:25:35 |
@gtrunsec:matrix.org | if Non-NixOS how do you solve the target build host? like https://github.com/serokell/deploy-rs/issues/12 | 02:25:49 |
David 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 |
David 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 |
David Arnold (blaggacao) | nixos-infect trues to be too smart, I feel. | 02:27:54 |
David 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 |
David 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 |
David 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 |
David 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 |
David 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 |
David Arnold (blaggacao) | * `nixos-infect` tries to be too smart, I feel. | 02:29:21 |
David Arnold (blaggacao) | Not sure why nixos-infect has had it's inplementation so complicated? | 02:30:26 |
David Arnold (blaggacao) | Maybe to procure a different cli UX. | 02:30:41 |
@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 |
David Arnold (blaggacao) | Hahah, as tim wrote in the Foreword. The system is just a package (file tree) | 02:31:23 |
David Arnold (blaggacao) | * Hahah, as Tim wrote in the Foreword. The system is just a package (file tree) | 02:31:34 |
@kraftnix:matrix.org | theres a difference between thinking that and seeing it done :) | 02:31:54 |
David 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 | i will be very happy to test that feature out | 02:34:04 |
David Arnold (blaggacao) | But nothing hinders anybody, to write a formatting script into the deploy-rs activation script as well. | 02:34:15 |
David Arnold (blaggacao) | Ah no! That would have to be run earlier. | 02:34:32 |