Live data from Hacker News

NixOS and the Art of OS Configuration (2018)

rousette.org.uk

11–20 of 123 posts

Re: NixOS and the Art of OS Configuration (2018)

#13
post #2

I want to use NixOS so bad Or what Arch has become. But I want to believe

Whereas I just left Debian-based distros because I'm hitting that exact problem with backported patches not arriving in any reasonable length of time in many packages. There seems to be a real manpower problem over at Debian in terms of maintainers.

I definitely feel like I'm hearing this about debian and it manifests worry, because I sense if we don't consolidate so many parallel oss volunteer based projects soon, we could lose a lot of valuable work to rot and collapse. but who would even undertake that survey and proposal process.

I do wish our line of work would formalize into an international guilds so apprentices help learn to maintain this stuff on their way to becoming "journeymen", somehow.

Re: NixOS and the Art of OS Configuration (2018)

#14

Love to see more adoption of Nix and NixOS. I started my Nix journey a little over a year ago, and I regret not having switched sooner. A package-manager that also ships an operating system that can be customized from the bootloader up, using a purely functional programming language is the perfect configuration management tool! It does have some rough edges, and I did lose some hair figuring things out early on, but…

Same. I've been meaning to take the time to learn and switch to NixOS for several years now, and finally had some time to do it this past spring.

I haven't been this happy and giddy with a new piece of technology since I completely eliminated Windows for Ubuntu back in 2009.

There was a learning curve that took several months, but now that I've got everything I had on Ubuntu running smoothly on NixOS, I could never go back. And this for my daily driver, not a server or anything.

My favorite part is how it enables rapid experimentation with different build configurations, without any concern about borking the current working build.

If the new build breaks something, a single command rolls it back to the prior working build.

If the new build crashes the system, just reboot and choose the prior working build in GRUB. When you're logged back in, call the rollback command to point the system back to the working build.

This makes learning and testing both Nix itself and your particular system build faster, easier, stress-free, and just downright fun, which is invaluable.

Declarative, deterministic, immutable OS builds is a significant step out of the tarpit of software complexity.

Re: NixOS and the Art of OS Configuration (2018)

#15

Love to see more adoption of Nix and NixOS. I started my Nix journey a little over a year ago, and I regret not having switched sooner. A package-manager that also ships an operating system that can be customized from the bootloader up, using a purely functional programming language is the perfect configuration management tool! It does have some rough edges, and I did lose some hair figuring things out early on, but…

Same. I've been meaning to take the time to learn and switch to NixOS for several years now, and finally had some time to do it this past spring. I haven't been this happy and giddy with a new piece of technology since I completely eliminated Windows for Ubuntu back in 2009. There was a learning curve that took several months, but now that I've got everything I had on Ubuntu running smoothly on NixOS, I could never g…

Congrats on your journey out of the tarpit! :)

Re: NixOS and the Art of OS Configuration (2018)

#16

Earlier quoted context omitted.

Same. I've been meaning to take the time to learn and switch to NixOS for several years now, and finally had some time to do it this past spring. I haven't been this happy and giddy with a new piece of technology since I completely eliminated Windows for Ubuntu back in 2009. There was a learning curve that took several months, but now that I've got everything I had on Ubuntu running smoothly on NixOS, I could never g…

Congrats on your journey out of the tarpit! :)

You too :)

Re: NixOS and the Art of OS Configuration (2018)

#17

Love to see more adoption of Nix and NixOS. I started my Nix journey a little over a year ago, and I regret not having switched sooner. A package-manager that also ships an operating system that can be customized from the bootloader up, using a purely functional programming language is the perfect configuration management tool! It does have some rough edges, and I did lose some hair figuring things out early on, but…

Hate to make a boring me-too comment, but I feel the same: I've been using it a bit over a year, and I wish I had started even sooner. Now I've got two laptops and a NUC, plus two odroid-hc4's, all on NixOS. All the system configuration that used to be half-broken ansible and a pile of scripts (plus all the one-off hacks that weren't even captured anywhere) is now nice pure nix configuration. I've nix-ified builds for a bunch of personal projects too.

Yeah, it took a few months to learn, and there are still lots of rough edges, but going back to a non-Nix linux distro would feel like going back to windows. I agree with the sibling comment that it makes me feel happy and giddy, like no other technology I've learned recently.

Re: NixOS and the Art of OS Configuration (2018)

#18

Love to see more adoption of Nix and NixOS. I started my Nix journey a little over a year ago, and I regret not having switched sooner. A package-manager that also ships an operating system that can be customized from the bootloader up, using a purely functional programming language is the perfect configuration management tool! It does have some rough edges, and I did lose some hair figuring things out early on, but…

> So far I haven't missed any packages that I could not find in nixpkgs, or customize just the way I wanted to.

And it's honestly not that hard to package things that aren't yet Nixified. Any C project is easy - I've learned more about cmake from mkDerivation that anywhere else.

And overlays make it easy to make tweaks to a build without straight-up forking. Beautiful!

Re: NixOS and the Art of OS Configuration (2018)

#20

Love to see more adoption of Nix and NixOS. I started my Nix journey a little over a year ago, and I regret not having switched sooner. A package-manager that also ships an operating system that can be customized from the bootloader up, using a purely functional programming language is the perfect configuration management tool! It does have some rough edges, and I did lose some hair figuring things out early on, but…

Is your config available? It sounds very interesting and complete. Especially the PXE boot from a pi sounds great!
Post reply on HN