disko | 405 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 113 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Apr 2026 | ||
| https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/image/repart.nix#L152-L171 | 19:05:26 | |
| * I already tried this once and you said no, that others should configure it themselves in extraPostVM | 19:05:49 | |
| Like right now I'm writing a wrapper that lets somebody do it | 19:10:12 | |
| 19:10:19 | |
| It ends up looking like this | 19:10:23 | |
| but I don't like that | 19:10:30 | |
instead it'd be nice if I could just set disko.imageBuilder.compression.enable = true | 19:11:03 | |
| https://blog.holms.place/2022/01/22/zfs-on-sd-card-under-linux.html | 21:41:14 | |
| 13 Apr 2026 | ||
| 14:19:52 | ||
error: Unsupported OVMF projectDscPath on armv6l | 21:32:34 | |
*
| 21:32:37 | |
| disko's image builder doesn't support armv6 | 21:32:43 | |
| might be my fault 🧠| 21:36:43 | |
| https://github.com/nix-community/disko/pull/643/changes | 21:36:45 | |
| Then after you fix that, you can't use disko anyway since disko needs qemu in order to build images | 22:02:28 | |
| 22:02:30 | |
| which doesn't work because spandsp doesn't build and work on armv6l | 22:02:39 | |
| looks like disko is using a fuller qemu than it needs to ? | 22:11:28 | |
You can set disko.imageBuilder.qemu, but why does disko default to a qemu that has gtk and opengl support? | 22:11:48 | |
Looks like the lib/make-disk-image.nix hardcodes virtio_pci, which won't work on armv6 either | 22:15:02 | |
| 14 Apr 2026 | ||
| 01:49:33 | ||
| 16 Apr 2026 | ||
| 07:05:43 | ||
| 25 Apr 2024 | ||
| 23:38:25 | ||
| 23:51:57 | ||
| 26 Apr 2024 | ||
| Couple of questions about NixOS live USBs: I want to partition my 64 GB USB flash drive into two partitions (FAT32 live USB + ext4 storage), so I used the following disko config:
I then copied over the files from the (minimal, non-graphical) NixOS live ISO into partition 1, hoping that the instructions on the Arch wiki would generalize to NixOS, but then my live ISO gets stuck with the following error message:
How can I use my USB flash drive as both a live USB and as a storage device? I found this relevant Discourse link but there was no resolution to the problem there. I realize this might not be the best place to ask this, but I figured that folks here would have expertise configuring boot partitions correctly. | 02:02:16 | |
| * Couple of questions about NixOS live USBs: I want to partition my 64 GB USB flash drive into two partitions (FAT32 live USB + ext4 storage), so I used the following disko config:
I then copied over the files from the (minimal, non-graphical) NixOS live ISO into partition 1, hoping that the instructions on the Arch wiki would generalize to NixOS, but then my live ISO gets stuck with the following error message:
How can I use my USB flash drive as both a live USB and as a storage device? I found this relevant Discourse link but there was no resolution to the problem there. I realize this might not be the best place to ask this, but I figured that folks here would have expertise configuring boot partitions correctly. For reference, the NixOS manual says I should | 02:12:28 | |
| I don't think that this will work since you need to unmount the live USB to format it as storage device | 07:16:00 | |
In reply to @tim92:matrix.orgNot sure what you mean, exactly. To clarify, I'm not trying to format the USB while it's live; I'm running this from an existing NixOS install. If the"live USB" bit uses only ~1 GiB, there should be some way to make use of the remaining space, hopefully. | 07:57:47 | |
| 07:57:54 | ||
| 08:25:00 | ||