nixos-anywhere
compose2nix
nixos-anywhere | compose2nix | |
---|---|---|
6 | 3 | |
1,083 | 156 | |
11.4% | - | |
8.8 | 9.1 | |
6 days ago | 13 days ago | |
Shell | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixos-anywhere
-
NixOS: Declarative Builds and Deployments
I have step-by-step video guides (with accompanying git repos) for booting NixOS from zero on both Hetzner VPS instances[1] and bare metal Robot instances[2] with nixos-anywhere[3]. I used to use nixos-infect but now I'm 100% sold on nixos-anywhere.
[1]: https://www.youtube.com/watch?v=wr22CyoyRo4
[2]: https://www.youtube.com/watch?v=nlX8g0NXW1M&t=952s
[3]: https://github.com/nix-community/nixos-anywhere
-
An Overview of Nix in Practice
I think things are pretty good with nixos-anywhere[1] now. I made a video last month walking through the process of provisioning 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
- NixOS-anywhere: install NixOS everywhere via SSH
-
NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
> I can speak new instances of my environment into existence
You're not kidding. I used nixos-anywhere [1] for the first time the other day. You can point it to any linux host and it will partition, format, and supplant the target's existing OS with your nixOS config, all with a single command. Incredible.
[1] https://github.com/numtide/nixos-anywhere
-
Is it possible to morph Debian into NixOS?
There's a few scripts to replace the current os with NixOS: eg https://github.com/numtide/nixos-anywhere
compose2nix
- Show HN: Generate a NixOS config from a Docker Compose project
- compose2nix: Generate a NixOS config from a Docker Compose project
-
An Overview of Nix in Practice
You can run containers on NixOS (also through systemd) and get the same benefits explained in this article. NixOS supports both Podman and Docker as a runtime. There is also the option to run NixOS containers. See: https://nixos.wiki/wiki/NixOS_Containers.
The Docker Compose story is a bit rough around the edges, though. I’m actually working on a tool to automatically convert a Compose file into a NixOS config you can import as-is. Still kinda early, but the skeleton works: https://github.com/aksiksi/compose2nix
What are some alternatives?
nixos-infect - [GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
nixos-wsl-starter - A sane, batteries-included starter template for running NixOS on WSL
nixos-playwright - DEPRECATED. Tell your puppeteer or playwright to use nixpkgs's google-chrome-dev's google-chrome-unstable binary. Previously: Patch playwright-downloaded browsers in ~/.cache/ms-playwright to run on NixOS
nixos-generators - Collection of image builders [maintainer=@Lassulus]
bento - A KISS deployment tool to keep your NixOS fleet (servers & workstations) up to date.
gokrazy - turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!
bootstrap-from-tcc - Starting with a single ~400 KB TinyCC binary, compile a Clang 17 toolchain and Nix package manager
nixpkgs - Nix Packages collection & NixOS
nixos-anywhere - install nixos everywhere via ssh [maintainer=@numtide] [Moved to: https://github.com/nix-community/nixos-anywhere]
main - OCI base images of Fedora with batteries included
nix.dev - Official documentation for getting things done with Nix.