Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> IIUC, there is a way to run a script that will delete my OS and install Nix

There is! It's a fucking nightmare: https://xiaoyehua.dev/posts/nixos-on-oracle-arm-machine

It works though, and thanks to the genius that wrote this script I've got a 4 core 24gb Oracle Always Free instance loaded up with NixOS at all hours of the day. I feel spoiled.



I think they're referring to this implementation: https://github.com/nix-community/nixos-anywhere

but cleverca22's work is solid as well

there's also the earlier https://github.com/elitak/nixos-infect

and the built-in NIXOS_LUSTRATE: https://nixos.org/manual/nixos/stable/#sec-installing-from-o...

I'd go with nixos-anywhere, personally




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: