!UUqahLbShAYkkrXmKs:matrix.org

DevOS

37 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
@kraftnix:matrix.org@kraftnix:matrix.orgmy hack was essentially doing the same wrap that digga does and using tests = a rewrapped digga mkTest in the toplevel flake and passing in a host via self, i'll check to see if the above runs the test as well01:50:40
@kraftnix:matrix.org@kraftnix:matrix.org

no dice initially

error: The option `nixos.hosts.NixOS.tests' does not exist. Definition values:
       - In `':
           [
             
             /nix/store/0a5pni2s4nv6ga7vkd0bw5sacxjvfdfq-source/tests/default.nix
           ]
01:54:34
@gtrunsec:matrix.org@gtrunsec:matrix.org
In reply to @kraftnix:matrix.org

no dice initially

error: The option `nixos.hosts.NixOS.tests' does not exist. Definition values:
       - In `':
           [
             
             /nix/store/0a5pni2s4nv6ga7vkd0bw5sacxjvfdfq-source/tests/default.nix
           ]
nix flake lock --update-input digga
01:57:14
@gtrunsec:matrix.org@gtrunsec:matrix.orgNotice: <Your hostName>.wait_for_unit("multi-user.target")01:57:46
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/divnix/digga/commit/6f7b2c131e47d3dfe86b21e58ba1473b5475b71d01:57:55
@blaggacao:matrix.orgDavid Arnold (blaggacao)(that's the commit who introduced this)01:58:10
@gtrunsec:matrix.org@gtrunsec:matrix.org https://github.com/divnix/digga/commit/6f7b2c131e47d3dfe86b21e58ba1473b5475b71d#diff-abc2f781b5df15331c8736b838631189f26e7a000e5695555c3693097ad9b24bR154 machine = { ... }: { }; 01:58:45
@blaggacao:matrix.orgDavid Arnold (blaggacao)Actually, yes. It can be both.02:00:33
@blaggacao:matrix.orgDavid Arnold (blaggacao)Ah ni, it can be only your version?02:01:13
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Ah no, it can be only your version?02:01:20
@gtrunsec:matrix.org@gtrunsec:matrix.org
In reply to @blaggacao:matrix.org
Ah no, it can be only your version?
Yes
02:01:42
@kraftnix:matrix.org@kraftnix:matrix.orgye that fixed it, nice02:02:23
@kraftnix:matrix.org@kraftnix:matrix.orgguess i have some catching up to do on the new digga additions, i've been on an older version in this branch for longer than expected02:02:58
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @gtrunsec:matrix.org
Yes
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
02:14:13
@pachumicchu:myrdd.infoPacman99
In reply to @blaggacao:matrix.org
https://github.com/divnix/digga/commit/6f7b2c131e47d3dfe86b21e58ba1473b5475b71d
Wow that is soo cool!
02:15:54
@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

Show newer messages


Back to Room ListRoom Version: 6