Live data from Hacker News

NixOS 22.11 “Raccoon”

nixos.org

101–110 of 201 posts

Re: NixOS 22.11 “Raccoon”

#101

My router (a VM with passed through network card) is currently running on NixOS, I’m really happy so far, it makes kernel patching (which in my case is required for the nic to work properly at 2500BASE-T) much easier than manually patching and building the kernel every time. It also gives me the guarantee that I will be able to rebuild the exact same host almost bit by bit in the future, in case of necessity, which i…

Yeah I used to use pfSense but hated having a load of config and firewall rules created manually, it all felt quite brittle. Moved to NixOS almost 5 years ago now and haven’t looked back, my router config is in Git and I’m able to make changes with confidence. Best part is making a change/installing an update and being able to rollback if I mess something up. I also use Nixus to push new configs which has a nifty fea…

I appreciate your comment here, and the parent comment.

I've been using OPNSense[0] as my router for the past several months. So far, I am quite happy with it, but I've also thought that NixOS would be the next step.

My OPNSense router has 30+ VLANs and many layered firewall rules (my take on "zEr0 tRuSt") and so the task of converting it all to NixOS seems a little daunting.

I appreciate the utility of OPNSense's web GUI when configuring and troubleshooting my router config. It would be awesome if something like that could be integrated with NixOS. Additionally, something like nsh[1] to provide a traditional router/switch style CLI would be a dream come true.

[0] https://opnsense.org/

[1] https://www.nmedia.net/nsh/

Re: NixOS 22.11 “Raccoon”

#102
post #56

Earlier quoted context omitted.

Steam still needs to be configured https://nixos.wiki/wiki/Steam but it's just a few lines in your config and then it works

That page is missing the opengl drivers which you also most likely want in the 32 bit variant.

Setting programs.steam.enable also enables 32-bit opengl, last I checked.

Re: NixOS 22.11 “Raccoon”

#103
post #3

Last week I switched from my Arch VM to a NixOS 22.05 VM full-time and it has been an excellent experience so far. Looking forward to seeing and reporting back on what my first NixOS upgrade experience is like.

Update: I'm on the nixos-unstable "rolling distro" so I don't actually need to do anything.

Also if anyone is wondering, nixos-unstable feels very stable as an end-user.

Re: NixOS 22.11 “Raccoon”

#104
post #63

I might want to try some new Linux distribution so I wonder: what doesn't work in nix? What are its weaknesses? What about devices with non-free firmware?

> What are its weaknesses? I think is easier to see this with what is their main strength: A declarative/reproducible OS setup. Is AMAZING for server deployment (like what you put in a docker file but that not mutate after it). But I don't think will be so nice for day to day use. That is where a mutation OS is easier.

My desktop development workstation is running on NixOS. I am always updating it as soon as possible because I know I can revert everything. That is damn nice.

Re: NixOS 22.11 “Raccoon”

#105
post #23

Earlier quoted context omitted.

If you just want someone to shoot you straight: Documentation and naming conventions for Nix are absolute shit across the board. This will get downvotes, and people will say I'm wrong, but I'm 100% right. Go see yourself, it's bad. Language is called Nix, OS is actually called Nix, package manager is called Nix, just the whole thing seems like it was written in 1 week by a squirrel with 12 hands and a sack of ritalin…

> Language is called Nix Yep; that's a bummer. The manual calls it the "Nix expression language", and some people refer to it as "nixlang" (similar to Gophers saying "golang") > OS is actually called Nix Nope, it's always NixOS; 100% of the time. In fact, the naming confusion goes the other way in this case, since the whole project (Nix, NixOS, etc.) lives on the domain nixos.org, and the GitHub account NixOS! > pack…

I always refer to nix on mac as "nix package manager" to disambiguate. It seems to be the common way to do so.

Re: NixOS 22.11 “Raccoon”

#106
post #63

I might want to try some new Linux distribution so I wonder: what doesn't work in nix? What are its weaknesses? What about devices with non-free firmware?

> What are its weaknesses? I think is easier to see this with what is their main strength: A declarative/reproducible OS setup. Is AMAZING for server deployment (like what you put in a docker file but that not mutate after it). But I don't think will be so nice for day to day use. That is where a mutation OS is easier.

I don't agree. NixOS has many weaknesses, but a server/desktop divide is not one of them.

Fwiw the best summary of "should I use NixOS" is https://news.ycombinator.com/item?id=33679621

Re: NixOS 22.11 “Raccoon”

#107
post #26
post #23

Earlier quoted context omitted.

If you just want someone to shoot you straight: Documentation and naming conventions for Nix are absolute shit across the board. This will get downvotes, and people will say I'm wrong, but I'm 100% right. Go see yourself, it's bad. Language is called Nix, OS is actually called Nix, package manager is called Nix, just the whole thing seems like it was written in 1 week by a squirrel with 12 hands and a sack of ritalin…

That last sentence is so true. I'm all in on Nix and I couldn't elevator pitch it if my life depended on it.

- Nixpkgs: Content-addressed reproducible package manager. No collisions because of the content-addressed part.

- NixOS: Full OS that says "what if we did the same for the whole OS"

Re: NixOS 22.11 “Raccoon”

#109
post #23

Earlier quoted context omitted.

If you just want someone to shoot you straight: Documentation and naming conventions for Nix are absolute shit across the board. This will get downvotes, and people will say I'm wrong, but I'm 100% right. Go see yourself, it's bad. Language is called Nix, OS is actually called Nix, package manager is called Nix, just the whole thing seems like it was written in 1 week by a squirrel with 12 hands and a sack of ritalin…

> That being said a lot of smart people here and in my peer group swear it's the truth, despite none being able to elevator pitch it. OK, I’ll bite. Nix is a build system . NixOS is a Linux source distro built on top of it (cf Gentoo, gittup, BSDs). Except you won’t need to build anything. Nix builds (should) execute in an isolated environment, thus the build artifacts are (ideally) bit-for-bit identical no matter wh…

Thats quite a lengthy elevator ride : )

Re: NixOS 22.11 “Raccoon”

#110
post #16

Is it like docker? Anyway trying my hand on Kivy. Work for once for iOS and android undder macOS. Then never so far. Trying Gm even of macOS. No. May be start again with this and try to install Kivy again

Nix is a package manager and NixOS is a distro. It's (very) kinda like a docker and gentoo combination done by haskell people

Although nix predates docker by a couple years.
Post reply on HN