nixos is a very cool distro to play with see https://nixos.org/
You can litteraly in couple of clicks go from VM creation to full blown multi container machine.
Everything is described in simple declarative config files.
Some links
- flist used: https://hub.grid.tf/ashraf.3bot/ashraffouda-nixos-micro-latest.flist.md
- there is a weblet on devnet see this page
- terraform example
nix packages deploy using micro vm on mainnet
this is only nixpackages not nixos, for nixos we need a full VM
- deployer on https://play.grid.tf/#/vm
- use flist
https://hub.grid.tf/ashraf.3bot/ashraffouda-nixos-micro-latest.flist
- entrypoint is
/entrypoint.sh
, this is important or you will not be able to login
You should see something like
after successful deploy you can use the following to get into the machine
now you can ssh into the machine
ssh -A root@ipaddr
I use ‘codeserver’ on the nixos to access the config file and make changes.
deploy using terraform
see also Terraform guide for Grid deployments
My example see https://github.com/despiegk/nixosplay/tree/master/terraform