monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
cptrbn has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
dev_mohe has quit [Quit: dev_mohe]
dev_mohe has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cptrbn has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evils>
hi, i'm trying to build an sd image for my raspberry pi 3b+ on my x86_64 desktop based on a configuration.nix; i can't seem to find the incantation for that...
<clever>
evils: nix-build '<nixpkgs/nixos/release.nix>' -A sd_image.aarch64-linux --arg configuration ./configuration.nix
<clever>
something like that i think, not sure if that one has the bootloader/firmware
<evils>
clever: error: a 'aarch64-linux' with features {} is required to build '/nix/store/lkcfm37has5wz1jqvpxzm6pq1nsmjj3b-config.txt.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
<clever>
ah right, thats a native build
<clever>
but config.txt definitely means it has rpi firmware
<clever>
one option, just install single-user nix on raspi-os, and then whip raspi-os until it builds its own replacement :P
<evils>
clever: yes, that is the measure of last resort...
<evils>
i want a headless setup, i don't want to go dig up an additional keyboard, display cable, or serial interface...
<clever>
if you create a file called ssh on the fat32 partition, a stock raspi-os image will enable ssh on bootup
<clever>
and it has a default pw, so you can get in over ethernet+ssh
<evils>
ye abut then i have to dig up a network cable
<clever>
cross-compiling has more issues
<evils>
oh, i misunderstood your raspi-os suggestion; i'd go with the a hydra raspi image as the starting point, load my config in there and rebuild
<evils>
but i think i'll just wait a few more years until i can do it the way i want, without getting out of my chair
<clever>
lol
<clever>
qemu-user-aarch64 can also emulate aarch64 on x86
<clever>
then you can do a "native" build
<evils>
i could have sworn i managed to assemble an image at some point before i lost my shell history...
<evils>
clever: does stock raspi-os do 64bit? i thought nix wasn't available on raspian
<clever>
evils: stock raspi-os is 32bit, but a 64bit kernel is available
<clever>
evils: if you edit config.txt to include arm_64bit=1, it will run a 32bit userland on a 64bit kernel
<clever>
thats enough to the install the 64bit nix
zupo has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 264 seconds]
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
cptrbn has joined #nixos-aarch64
yangm has quit [Quit: Idle for 30+ days]
<evils>
and now my pi won't boot :P
<clever>
evils: does the status led blink any?
<evils>
yea, just doesn't show up on the network anymore (this is my rpi 3 (non plus))
<evils>
already edited config.txt again
<evils>
and it's back
ryantrinkle has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
rabbit9911 has joined #nixos-aarch64
<rabbit9911>
nixos-on-arm is a really neat project. Just wanted to give some props.
apache8080 has joined #nixos-aarch64
<Ke>
btw. anbox options still remain on unstable nixos, while it's claimed to be broken