samuela/nixos-up

The fastest NixOS install there is! 🏎️🏁

Python

255

25 commits

updated Apr 19, 2025

See the code

README

nixos-up

nixos-up is a dead-simple install wizard for NixOS. It's the fastest way to get from ISO to working installation.

From the NixOS installation USB/CD:

sudo nix-shell https://github.com/samuela/nixos-up/archive/main.tar.gz

You can check out a video demonstrating the process here: https://youtu.be/f7DzbiRD99Q.

Development

In this directory run servefile --tar --compression gzip --port 12345 .. Then, while that's running nix-shell -p ngrok --run "ngrok http 12345".

Now in your VM/device, run

nix-collect-garbage && sudo nix-shell http://blah-blah-blah.ngrok.io/nixos-up.tar.gz

You may need sudo umount --lazy /mnt periodically as well.

Contributors

samuela

19 commits

ChrisIgel

2 commits

ryantm

2 commits

bittner

1 commits

samuela/nixos-up

The fastest NixOS install there is! 🏎️🏁

Python

255

25 commits

updated Apr 19, 2025

See the code

README

nixos-up

nixos-up is a dead-simple install wizard for NixOS. It's the fastest way to get from ISO to working installation.

From the NixOS installation USB/CD:

sudo nix-shell https://github.com/samuela/nixos-up/archive/main.tar.gz

You can check out a video demonstrating the process here: https://youtu.be/f7DzbiRD99Q.

Development

In this directory run servefile --tar --compression gzip --port 12345 .. Then, while that's running nix-shell -p ngrok --run "ngrok http 12345".

Now in your VM/device, run

nix-collect-garbage && sudo nix-shell http://blah-blah-blah.ngrok.io/nixos-up.tar.gz

You may need sudo umount --lazy /mnt periodically as well.

Contributors

samuela

19 commits

ChrisIgel

2 commits

ryantm

2 commits

bittner

1 commits

Languages

Python

98.2%

Nix

1.8%