3 ms·
NixOS on my laptop, my Hetzner dedicated server, and my EC2 instances. Configuring NixOS is done declaratively, so I can easily inspect how my computers are co
by mbrock 9y ago
NixOS on my laptop, my Hetzner dedicated server, and my EC2 instances.
Configuring NixOS is done declaratively, so I can easily inspect how my computers are configured, and I know that when I get a new computer, I can just copy the configuration.
Its way of performing upgrades and configuration changes is the new state of the art. You could say it's like React for your whole userland.
The configuration syntax and the package definition syntax are one and the same functional programming language, which makes the system very flexible. And the whole package hierarchy is just a Git repo.
The package server maintained by NixOS also happens to have binary builds for nearly all Haskell packages, which saves me a lot of time.
- peller 9y agoAny resources you would recommend for getting started? So far I've found this[0] which seems like a good introduction. [0] https://ebzzry.io/en/nix/ https://ebzzry.io/en/nix/
- mbrock 9y agoYeah, that seems good! The NixOS manual is also a good resource. I'll also mention that EC2 can spin up a NixOS instance from an existing public AMI, which can be a convenient way to get started. While reading up on the basic semantics of the Nix language, you can also poke around in the Nixpkgs repository on GitHub to see how packages are typically defined and composed. And there's an IRC channel on Freenode that's nice and helpful.
- peller 9y agoAwesome, thanks!