<noonien>
ah, you're also running nixos on a rpi0? or do you just create a sdcard?
<lopsided98>
yes, I have quite a few running NixOS. Most are cross-compiled these days, except for ragazza.
<noonien>
you generate the sdcard using nixos-generate?
<clever>
the nixops example above, is cross-compiling and then deploying
<noonien>
oh, i see, so basically instead of doing nixos-rebuild, a build is done locally (using cross-compilation), and then the nix store is updated on the target. and i'm guessing something similar to what nixos-rebuild does happens. perhaps even nixos-rebuild itself, with the existing build
<lopsided98>
noonien: I build config.system.build.sdImage to get an SD card image for the install and then have a custom deployment script to update them.
<noonien>
i see
<lopsided98>
If you have x86_64 remote builders configured, attempting to build the cross-compiled configuration from the host machine (ie. the RPi) will cause it to automatically be cross-compiled remotely. I think you could even use nixos-rebuild like normal, but I haven't tried it.
<lopsided98>
The main problem I ran into is that nix evaluations use more RAM than is available on the RPi zero, so my standard procedure (for both native and cross builds) is to run the evaluation on my development machine, copy the .drv files to the target machine and then build the config on the target.
<lopsided98>
For cross-compilation, this last step causes the builds to be distributed back out to my x86_64 builders.
ky0ko has quit [Read error: Connection reset by peer]
<DigitalKiwi>
i don't even use the phone or texts like normally it's zero...ocasionally i'll get a text for some 2fa that doesn't work with google voice and i get pissed
<DigitalKiwi>
<3 signal
<DigitalKiwi>
...
<DigitalKiwi>
this is not the channel i thought i was in
<DigitalKiwi>
sorry :(
<DigitalKiwi>
my eyes don't work so good i thought this was #archlinux-offtopic
jumper149 has quit [Quit: WeeChat 3.0]
cole-h has joined #nixos-aarch64
wavirc22 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
cole-h has quit [Ping timeout: 264 seconds]
<Ke>
now I have honeycomb, ram still has not shipped, while it's marked as 48h delivery
<sphalerite>
wow, mine is now "Scheduled Delivery: Check back tomorrow for an updated delivery date"
Darkmatter66 has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos-aarch64
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
WilliButz has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Ping timeout: 260 seconds]
Acou_Bass has joined #nixos-aarch64
WilliButz has joined #nixos-aarch64
andi- has quit [Ping timeout: 258 seconds]
andi- has joined #nixos-aarch64
<sphalerite>
woooooo my btrfs-based image (no separate boot partition!) booted on the first try
<sphalerite>
booooooo I forgot to enable SSH in it
<sphalerite>
(image for the helios64)
<Ke>
I guess you still have partition for the bootloader?
<sphalerite>
yeah, though that doesn't really need to be a partition
<sphalerite>
and I can move the bootloader to SPI flash
<sphalerite>
then I can use the whole emmc as a rootfs
<Ke>
does some directly bootable bootloader load directly from btrfs
<sphalerite>
u-boot :)
<sphalerite>
(when configured appropriately)
<Ke>
hmm
<Ke>
even extlinux.conf?
<sphalerite>
yep
<Ke>
I would guess no zstd though?
<sphalerite>
not sure, haven't tried that
<Ke>
y u no compress
<Ke>
currently I hate nix for preallocations and btrfs for being stupid with preallocations
<Ke>
nix got fixed though, not quite the fix I wanted
<LinuxHackerman>
but even if u-boot doesn't support zstd, boot could be a subvolume with compression disabled, right?
<Ke>
my belief is that nixos symlinks boot, if it's on same fs as nix/store
<Ke>
though it may not be clever enough to understand different mountpoint being same subvol, so maybe it just works
<Ke>
but yes , directory can have compression disabled
<Ke>
sphalerite: is it symlinks for you?
<sphalerite>
nope, the generic-extlinux-compatible thing seems to copy regardless.
<Ke>
thanks
zarel has quit [Ping timeout: 272 seconds]
zarel has joined #nixos-aarch64
ib07 has joined #nixos-aarch64
<Ke>
wonder, if we'll ever see that video support on pbp
<Ke>
if I would update my u-boot could have that at same go
<Ke>
hmm, my boot is on sd and also rootfs is encrypted, so maybe this does not make sense even
veleiro has joined #nixos-aarch64
<sphalerite>
oh boy, now (a day after it was supposed to be delivered) my helios64 has cleared customs. GJ UPS
<sphalerite>
s/helios64/honeycomb/
<sphalerite>
though I can't complain, because now I'll actually be there when it arrives
rajivr has quit [Quit: Connection closed for inactivity]
<gchristensen>
can someone gc the community machine? :)
<sphalerite>
gchristensen: will do
<sphalerite>
why though? It doesn't seem to be particularly low on space
<gchristensen>
I seem to be getting pages for inodes?
<sphalerite>
it's at 2% usage according to df -i /nix/store
<gchristensen>
huh
<sphalerite>
err not even that
<sphalerite>
1% :)
<simpson>
gchristensen: I recognize that as I'm starting a new job is *the* worst time to say this, but how's the operational load for you right now? Is there anything that would be helpful for you to delegate?
<sphalerite>
gchristensen: I can take pages too for that sort of thing if you like
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]