nix-community/nixos-anywhere
View on GitHub ↗ ★ 3,546 Shell
Install NixOS everywhere via SSH [maintainers=@Mic92 @Lassulus @phaer @Enzime @a-kenji]
15 mentions on Hacker News by 10 people: 2 stories, 13 comments · first 2023-04-02 · latest 2026-03-24
20082026
-
Sounds cursed. But I'm not judging, given that I use nixos-anywhere[0] on an almost weekly basis. [0] https://github.com/nix-community/nixos-anywhere
comment by klinch · 2026-03-24 · in curl > /dev/sda: How I made a Linux distro that runs wget | dd -
…alternative is to “infect” a VM running in whatever cloud and convert it into a NixOS VM in-place: https://github.com/nix-community/nixos-anywhere In fact, it is a common practice to use the latter to install NixOS on new machines. You…
comment by Cyph0n · 2026-02-04 · in Coding Agent VMs on NixOS with Microvm.nix -
…and it's done through nixos-anywhere, which will install it[0] to the ram unfortunately. [0]: https://github.com/nix-community/nixos-anywhere/blob/abb0d72...
comment by hgl · 2025-06-01 · in How I like to install NixOS (declaratively) -
…different distribution, though the installation part itself would obviously need to be adapted. [0] https://github.com/nix-community/nixos-anywhere
comment by Cu3PO42 · 2025-04-10 · in The chroot Technique – a Swiss army multitool for Linux systems -
And for cloud/dedicated servers perhaps https://github.com/nix-community/nixos-anywhere (There's also a terraform module ) And for state changes https://github.com/serokell/deploy-rs Or Colmena /nixops/ and x other For secret handling…
comment by gallexme · 2024-10-02 · in NixOS is a good server OS, except when it isn't -
…similar (?) to install NixOS in-place on a remote machine (using kexec “magic” under the hood). https://github.com/nix-community/nixos-anywhere I tried it on a Hetzner VPS and was honestly pretty surprised that it even worked. What makes…
comment by Cyph0n · 2024-08-11 · in OpenBSD 7.5 via QEMU on Hetzner physical machine (no phys. access / KVM console) -
…keys, Telegraf, Nginx with LetsEncrypt certs, and automatic OS upgrades. No Ansible needed :) See: https://github.com/nix-community/nixos-anywhere
comment by Cyph0n · 2024-05-18 · in Rebuilding my homelab: Suffering as a service -
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:…
comment by pxc · 2024-04-25 · in Ask HN: Please recommend how to manage personal serverss -
…ps://www.youtube.com/watch?v=wr22CyoyRo4 [2]: https://www.youtube.com/watch?v=nlX8g0NXW1M&t=952s [3]: https://github.com/nix-community/nixos-anywhere
comment by bsnnkv · 2024-01-15 · in NixOS: Declarative Builds and Deployments -
…a VPS on Hetzner Cloud[2] if you want to see what the process looks like in real-time. [1]: https://github.com/nix-community/nixos-anywhere [2]: https://www.youtube.com/watch?v=wr22CyoyRo4
comment by bsnnkv · 2023-11-12 · in An Overview of Nix in Practice -
…including disk formatting is now purely declarative. [0] https://github.com/nix-community/disko [1] https://github.com/numtide/nixos-anywhere
comment by Cu3PO42 · 2023-08-22 · in Impermanence -
…process, if your provider isn't as cool as Linode and won't let you boot arbitrary ISOs: https://github.com/numtide/nixos-anywhere Building images directly for cloud vendors' platforms on your local system and then pushing them up and…
comment by pxc · 2023-08-13 · in NixOS RFC 136 approved: A plan to stabilize the new CLI and Flakes incrementally -
…the target's existing OS with your nixOS config, all with a single command. Incredible. [1] https://github.com/numtide/nixos-anywhere
comment by fortunateregard · 2023-08-13 · in NixOS RFC 136 approved: A plan to stabilize the new CLI and Flakes incrementally