!oNSIfazDqEcwhcOjSL:matrix.org

disko

395 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko104 Servers

Load older messages


SenderMessageTime
12 Apr 2026
@matthewcroughan:defenestrate.itmatthewcroughansomething wants to get out and log, but not sure what18:56:09
@emma:rory.gay@emma:rory.gay left the room.18:57:01
@matthewcroughan:defenestrate.itmatthewcroughan *
nixos-disko-images-aarch64-linux> \[2026-04-12T18:47:09Z INFO  virtiofsd\] Client disconnected, shutting down
nixos-disko-images-aarch64-linux> \[2026-04-12T18:47:09Z INFO  virtiofsd\] Client disconnected, shutting down
nixos-disko-images-aarch64-linux> Virtual machine didn't produce an exit code.
error: build of '/nix/store/iqb7h2cw2bgh42l6pkijwm4g1fcqwzcw-nixos-disko-images.drv' on 'ssh-ng://nix-ssh@m2u' failed: Cannot build '/nix/store/iqb7h2cw2bgh42l6pkijwm4g1fcqwzcw-nixos-disko-images.drv'.
18:57:19
@matthewcroughan:defenestrate.itmatthewcroughan The issue goes away with increased memSize 18:57:39
@matthewcroughan:defenestrate.itmatthewcroughanI guess this is another bug, but somehow logging doesn't catch it18:57:50
@matthewcroughan:defenestrate.itmatthewcroughan* I guess this is another bug, but somehow logging doesn't work this time around18:58:00
@matthewcroughan:defenestrate.itmatthewcroughan Is there any opposition for a general purpose compression command lassulus ? 19:04:47
@matthewcroughan:defenestrate.itmatthewcroughanI already tried this once and you said no, that others should configure it themselves19:04:57
@matthewcroughan:defenestrate.itmatthewcroughanBut IMO it should not be, it should be an option like it is in repart19:05:08
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/blob/master/nixos/modules/image/repart.nix#L152-L17119:05:26
@matthewcroughan:defenestrate.itmatthewcroughan* I already tried this once and you said no, that others should configure it themselves in extraPostVM19:05:49
@matthewcroughan:defenestrate.itmatthewcroughanLike right now I'm writing a wrapper that lets somebody do it19:10:12
@matthewcroughan:defenestrate.itmatthewcroughan
    disko.imageBuilder.extraPostVM = lib.optionalString cfg.image.embedUboot ''
      ${lib.getExe' pkgs.coreutils "dd"} conv=notrunc,fsync if=${cfg.platformFirmware}/u-boot-rockchip.bin of=$out/${config.disko.devices.disk.disk1.imageName} bs=512 seek=64
    '' + lib.optionalString cfg.image.disko.compress ''
      ${pkgs.zstd}/bin/zstd --compress $out/*raw
      rm $out/*raw
    '';
19:10:19
@matthewcroughan:defenestrate.itmatthewcroughanIt ends up looking like this19:10:23
@matthewcroughan:defenestrate.itmatthewcroughanbut I don't like that 19:10:30
@matthewcroughan:defenestrate.itmatthewcroughan instead it'd be nice if I could just set disko.imageBuilder.compression.enable = true 19:11:03
@matthewcroughan:defenestrate.itmatthewcroughanhttps://blog.holms.place/2022/01/22/zfs-on-sd-card-under-linux.html21:41:14
13 Apr 2026
@tanja:catgirl.cloudTanja (she/her) removed their profile picture.14:19:52
@matthewcroughan:defenestrate.itmatthewcroughan error: Unsupported OVMF projectDscPath on armv6l 21:32:34
@matthewcroughan:defenestrate.itmatthewcroughan *

error: Unsupported OVMF projectDscPath on armv6l

21:32:37
@matthewcroughan:defenestrate.itmatthewcroughandisko's image builder doesn't support armv621:32:43
@matthewcroughan:defenestrate.itmatthewcroughanmight be my fault 🧠21:36:43
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/nix-community/disko/pull/643/changes21:36:45
@matthewcroughan:defenestrate.itmatthewcroughanThen after you fix that, you can't use disko anyway since disko needs qemu in order to build images22:02:28
@matthewcroughan:defenestrate.itmatthewcroughan
spandsp-aarch64-linux> checking for ld used by armv6l-unknown-linux-gnueabihf-gcc... armv6l-unknown-linux-gnueabihf-ld
error: Cannot build '/nix/store/qjr624zrczgfj4vy6bpxiygaaf15xq6v-qemu-armv6l-unknown-linux-gnueabihf-10.2.2.drv'.
22:02:30
@matthewcroughan:defenestrate.itmatthewcroughanwhich doesn't work because spandsp doesn't build and work on armv6l22:02:39
@matthewcroughan:defenestrate.itmatthewcroughanlooks like disko is using a fuller qemu than it needs to ? 22:11:28
@matthewcroughan:defenestrate.itmatthewcroughan You can set disko.imageBuilder.qemu, but why does disko default to a qemu that has gtk and opengl support? 22:11:48
@matthewcroughan:defenestrate.itmatthewcroughan Looks like the lib/make-disk-image.nix hardcodes virtio_pci, which won't work on armv6 either 22:15:02
14 Apr 2026
@lukas:landgraf.moeLukas joined the room.01:49:33

Show newer messages


Back to Room ListRoom Version: 10