Anyone fiddling with nix, nix-darwin for their computer setup and what not?
Not yet but I saw that this was announced: https://determinate.systems/
I use their nix installer script. Really easy.
I tried out NixOS a few years ago, and now only have 2 (out of 15) nodes converted. Going all in wasn't my plan, but it was just too good. I have some experience with Nix on other OS's as well, as I am slowly rolling Nix out for developer environments on other Linux Distros and Mac.
Nice - I’ve been looking at it from the side lines for quite some time now before taking the decision to migrate from my ansible setup for my computer setup. And now roughly five days into it I’m almost done and can honestly say that I’m amazed on how awesomely it has been to learn.
I've been daily driving NixOs for more then 2 years now. I deploy blog, home server and personal machine. It's absolutely irreplaceable for me now
@FlakM what made you decide on NixOS?
If I recall correctly I got annoyed at jumping between machines with different software versions and missing configuration. But since then I've found out so many little use cases that made the whole effort worthwhile.
@Anders Johansson kudos on the journey! Wait until a year from now you will come back and understand the system in 30 seconds :heart_eyes: Did you have any major problems with migrating?
@FlakM thank you :folded_hands: no real issues. The major ones was mostly figure out nix-darwin and home-manager. Once I did that it was pretty smooth sailing from that. Only thing left now is make the setup a little more modular so work both for my private and work computers.
Btw to procrastinate from other work Im reading the PhD thesis describing nix and Nixos by Elco https://edolstra.github.io/pubs/nspfssd-lisa2004-final.pdf it's a fascinating read. Especially when I take into the consideration release year (20 years ago!)
It's scary how much of the PITA still the deployment ecosystem is 20 years later
Nice - I’m in transition between positions so some great reading is most welcome 👍🏻
I've dabbled with dev shells but not got as far as the OS. I'm still very lost on understanding the progression with flakes!
That's a mess. Flakes should have become a non experimental feature long time ago.
Ya'll using NixOS or just Nix package manager?
Nixos on Linux machines and nix on macs. My colleagues use nix on Ubuntu systems since they don't want to invest too much time into learning but still appreciate dev shells in our projects
Only nix on Mac as of now. Started to look into maybe use the arm port of Nixon on my arm Mac at home. Who knows where this rabbit hole will take me :nerd:
James McNally said:
I've dabbled with dev shells but not got as far as the OS. I'm still very lost on understanding the progression with flakes!
We could probably start a new topic just for that. Once you get the "right" view of them, the extra value they add are totally worth it, and they actually simplify a lot of stuff. I don't use channels at all any more, and all of the exact versions of repos are pinned in the lock file (and version controlled), just like you'd expect with package-lock.json, cargo.lock etc.
I haven't used Nix, but on the topic of portable/reproducible machine configurations, I've been working on this project: https://github.com/colececil/familiar.sh.
I've made some good progress, but I haven't quite gotten to the MVP stage yet. I got distracted by other projects for a bit, but I'll be working on this again soon and hopefully doing an initial launch before too terribly long.
@Cole Cecil That looks like an ambitious project especially given ansible, puppet, chef and dozens of other things already exist.
I started writing a ruby script to manage my mac but put it down after a few days out of boredom more than anything. I was pretty trivial in ruby to manage the files, templates, brew packages etc but I wouldn't even attempt something that covers all the operating systems. That takes bravery.
Good luck to you.
Thanks, @Tim Uckun! I looked at several of those and others but was surprised not to find anything that felt like it quite fit my use case and worked across platforms. I also tried writing and maintaining a bash script for a bit, but it ended up feeling too clunky.
@Cole Cecil that looks great, I've been looking for something just like that, I was begining to consider writing something myself. Just wanted something simple where I could define what packages and config I want in a file or two. Will definitely give it a try when your at MVP stage.
I want a nix that is implemented in a memory safe language and doesn't require me to learn a bonkers single-purpose nix-only language to use
Anyone know if you can use flox without it involving any calls to nix
and no use of the Nix language at all? https://aus.social/@jokeyrhyme/113846772546642254
https://www.tangram.dev/ and https://brioche.dev/ look intriguing
Last updated: Apr 04 2025 at 01:15 UTC