!oNSIfazDqEcwhcOjSL:matrix.org

disko

357 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko90 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Sep 2024
@colemickens:matrix.orgcolemickensI found it a bit tricky to do this right, how can I better specify these partition start/ends that don't leave such awkward gaps: https://github.com/colemickens/nixcfg/blob/06d838e8abe1392433c3ddf08cff23da381f7cee/hosts/h96maxv58/base.nix#L80-L11021:39:51
@lassulus:lassul.uslassulusYou can do start = 0. sgdisk will choose the next free block then21:51:07
@lassulus:lassul.uslassulusWhich is also the default21:51:16
@colemickens:matrix.orgcolemickensthe problem with start=0 is ordering22:02:24
@colemickens:matrix.orgcolemickensesp with it hoisting ESP to be partition 122:05:37
@colemickens:matrix.orgcolemickens well I don't know why ESP is being made first, maybe it's alpha sorted by default (since I'm using EF00 not EF02). anyway, I'll set priority. Now just looking for growpart. 22:18:42
@colemickens:matrix.orgcolemickensI keep doing it by hand and forgetting to set the part label and causing myself a lot of pain.22:18:59
@colemickens:matrix.orgcolemickensoh I guess that's a system-level nixos option. hm22:34:51
@colemickens:matrix.orgcolemickensI seriously love disko so much. I wish I could fund someone to make a non-VM install process, with lanzaboote, bootspec, etc. I don't think it's that outlandish. If one could compose images with cross-compiled systems without needing to involve qemu, that would just be "end-game".22:51:10
@colemickens:matrix.orgcolemickensstill, doing a native build, using disko, and then pivoting to a cross-built system is still such a nicer experience than sdcard or other things people do to get nixos on weird platforms. I'm excited to use it for ec2 image as well.22:52:21
16 Sep 2024
@arjan5:matrix.orgarjan5 colemickens Not sure if it's what you're looking for, but nixos-anywhere can install different-arch systems remotely, even for configs containing disko, lanzaboote, impermanence, etc. I have done this before. 09:12:30
@lassulus:lassul.uslassulusLanzaboote needs interaction with the efi/bios to deploy your keys there. But I guess everything else could be done by the image builder12:43:32

Show newer messages


Back to Room ListRoom Version: 10