<misuzu>
used this instead of copying host's store - now vm is starting very fast!
<colemickens>
misuzu: can I be nosy? what's the build-vm.nix for?
<colemickens>
just to run a VM on the rpi as a systemd serivce I guess?
<misuzu>
colemickens: you can use this as native armv7l builder
<colemickens>
oh ok
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
alp has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
knerten2 has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 256 seconds]
<thefloweringash>
misuzu: hey, glad that vm config helps! I used to use overlayfs but found that it breaks go's tests so switched over to the completely flat and boring ext4 single volume
<Thra11>
thefloweringash: I based my armv7l build vm on your config too, so thanks from me as well!
bennofs has joined #nixos-aarch64
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos-aarch64
<Thra11>
I ended up changing the startup service from DynamicUser to a fixed user, as I wanted to create the disk image on an external drive, not in /tmp (my host rootfs doesn't have much space and /tmp is a tmpfs)
WilliButz has quit [Remote host closed the connection]
<samueldr>
I don't have the hw to test (no nvme drive)
<samueldr>
so I haven't blindly added things to the u-boot for it
<samueldr>
hacking on u-boot is relatively trivial though
<samueldr>
you would first erase the SPI flash
<samueldr>
and then just burn it to SD
orivej has quit [Ping timeout: 256 seconds]
<colemickens>
samueldr: I was a bit confused, the "new" stuff then is a change to uboot that allows it to also work from SPI the same way it already did from SD?
<colemickens>
from the same build, I guess, even.
<samueldr>
colemickens: "new" from whom?
<samueldr>
there's different things
<colemickens>
I guess I mean the update in that thread, RE: upstream uboot.
<samueldr>
I believe all that is found after "--------" is the old post
<samueldr>
they seem to have prefixed it with an update
<colemickens>
right, pre-update it seems like it wasn't upstreamed
<colemickens>
but the upstream uboot at that time seemed to still work on the pbp, just not from the SPI
<colemickens>
or I have a misunderstanding, maybe
<samueldr>
I'm not sure about the timeline
<samueldr>
but IIRC straight upstream needs tweaks for SPI to work