Closed i-am-logger closed 8 months ago
Flashing a raw image into SD card / SSD directly is enough for me. What are the benefits of nix-anywhere / nix-generators in this scenario?
just to be able to update it remotely... it is something I aam working towards to with the orange pi 5 plus. the way nixos-anywhere works it will load a new installer kernel, boot to it, then do the reinstall - that can also mean repartitions.
As for remote deployment, I've already provided a demo for it:
yes, i rather use the normal nixos-rebuild switch with remote endpoint or the nixos-anywhere... its ok, i'll continue on it at a fork.
great work btw! and as i have it setup with debugger, let me know if you want me to tests some stuff.
its ok, i'll continue on it at a fork.
Or could this be another demo? Something like my colmena demo, where the changes to the original flake are minimal and that's acceptable to me.
You can do your work on your fork first, and I'll see how much it's changed when it's done.
btw, have you looked at https://github.com/orangepi-xunlong/orangepi-build/tree/next
any plans to update to kernel 6.x?
@realsnick I have no plans to upgrade to the latest kernel for the time being, but I will keep an eye on the progress of the upstream https://github.com/armbian/build
thank you @ryan4yin if there is any guideline on updating the kernel i can pick up on it maybe early beginning of 2024
@realsnick FYI, I've just added UEFI support for rk3588, it should supports nixos-anywhere
, nixos-install
& nixos-generators
seamlessly! looking for any tests & feedback.
https://github.com/ryan4yin/nixos-rk3588/blob/main/UEFI.md
In fact I've already use nixos-generators to generate UEFI disk image:
BTW, I'm working on UEFI Secure Boot + NixOS + LUKS on rk3588, details: https://github.com/ryan4yin/nix-config/pull/74
sweet! will check it out!!!
have you thought of integrating this with nixos-anywhere, nix-install nix-generators?
I'll be happy to help.