Skip to content

Comment on Tvix – A New Implementation of Nix

Comments

Maybe worth mentioning rust and performance more prominently as the motivations.

Is Nix eating the world? We have seen lots of unbelievable projects using it on HN recently. It feels like anyone serious about complex systems and building software are embracing it.

I use it extensively also via nixpkgs, though somehow I have yet to make the leap to full NixOS.

One consideration for anyone who hasn’t jumped in, is that I have nixpkgs on Linux, MacOS, and Win11 hosts. I’ve found that incredibly useful.

There's also nix-darwin and home-manager. I barely use brew anymore, not directly anyway, for the rare packages that aren't in nixpkgs.

Can you provide some links to some projects? You’ve piqued my interest

I would not call these projects unbelievable, but they are neat.

Opt-in state:

https://github.com/nix-community/impermanence

https://grahamc.com/blog/erase-your-darlings

Ease of setting up a real-time audio on Linux:

https://github.com/musnix/musnix

Generating virtual machines/installators from a configuration:

https://github.com/astro/microvm.nix

https://github.com/nix-community/nixos-generators

It's interesting to scroll through nix-darwin options, I wasn't even aware of some useful macOS options before:

https://daiderd.com/nix-darwin/manual/index.html

A neat collection of music information retrieval packages in one place (and the ease of creating your own package registry):

https://github.com/carlthome/mirpkgs

https://github.com/majbacka-labs/nixos.fi

https://news.ycombinator.com/item?id=40010991

https://news.ycombinator.com/item?id=39720007

https://news.ycombinator.com/item?id=39692801

https://news.ycombinator.com/item?id=39658684

https://news.ycombinator.com/item?id=39004785

I didn’t find these via HN search, I found them in my bookmarking account. I have a slightly strange way of bookmarking - I send emails to a dedicated email account, so these I found there looking for Nix in a search.

do you use special email client and host provider for that?

does it work for 10k bmarks?

Nope it’s just a regular email provider with IMAP support. I just send myself an email with the link and optionally some cut and paste content or notes. I have offline backups of all my IMAP accounts also. I find it convenient because I just add that account to whatever mobile or desktop environment and then can use search functionality of email client. It’s a bit silly but it’s worked out ok for me for many years now and yes definitely works for 10k emails of bookmarks, no problem.

Tow-Boot comes to mind for me. https://github.com/Tow-Boot/Tow-Boot/

Also plenty of projects here: https://github.com/nix-community/awesome-nix

Not super recent, but nix-snapshotter is one that I'd call awesome(but I'm also a k8s fanboi): https://github.com/pdtpartners/nix-snapshotter

https://news.ycombinator.com/item?id=37407758

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.