Hacker News new | past | comments | ask | show | jobs | submit | abuggia's comments login

In the past three weeks I've explored two use cases:

1. Macbook setup via nix-darwin + home-manager. Now that I've put in the time, I'm going to use it for my personal and family laptops. I would probably not recommend anyone else do this if they have not previously used Nix. Very high ramp given the benefits.

2. Dev environments[1]. I started using nix+direnv for my side projects. This was quick and easy to get started with and has been great. Would recommend anyone look into it via the link below.

I have not tried installing/using NixOS.

[1] https://determinate.systems/posts/nix-direnv


> I have not tried installing/using NixOS

It's like Nix-Darwin but without any setup issues, spared from breakage related to OS upgrades, but also with fewer escape hatches (Flatpak is the main easy one it does provide, also steam-run) for app installation. If you do enjoy Nix-Darwin once you get it going and you at least somewhat enjoy Linux desktops, you'd probably enjoy it as a daily driver.

I would say that for users new to the Nix ecosystem, NixOS on a spare machine is the most gentle and pleasant way to introduce the module system and declarative Nix config. It tends to be smoother than Home Manager or Nix-Darwin, and it's a lot more complete than either, both because it has more users. But a spare machine is a good choice for those who aren't yet sure that they like or care about Nix, because if something is missing or non-obvious, the only way out is through— you have to dive deep.

NixOS is so mature these days compared to when I first picked it up, though. Packaging work just to get by on the day-to-day is way more rare, and there are a lot more examples around. A Linux hobbyist who is prepared to struggle a bit can definitely just dive right in and have a good time, for sure.


Cool! There were definitely some hacks/issues with nix-darwin though most of my time was probably spent porting my neovim config[1] (still working on it) which should mostly carry over if I want to check out NixOS. I'll probably take the spare machine approach as you mentioned.

[1] https://github.com/abuggia/neovim-flake


Nice! I've been playing around with NixVim¹ for my neovim config on macOS/Nix-Darwin at work, but I haven't done much with it since I mostly use Emacs with Evil.

Neovim is my 'spare editor', so my needs for it are simple. :)

--

1: https://github.com/nix-community/nixvim


Have you tried / are you going to try devenv or devbox for development environments? I'm curious to know what other people think. As for me I'll try it as soon as I finish reinstalling my macos.


I have not tried either yet. There seems to be a few of these nix-based dev envs coming out which is one reason I became curious. I wanted to learn baseline nix before jumping into any of these.

If you are using nix-darwin to set up your macos, I'd be curious to hear about your experience.


Providing support for other infra-as-code solutions like Pulumi is definitely on the roadmap!


Thanks Ed!


Woah, this is a blast from the past! I used Light Table a bunch a few years ago in my clojure days.


I really wanted to build one, never did.


Save Time and Money on AWS by Running Performance Tests


Sym | remote | devtools | full-time | founding marketer | https://symops.com/

Engineering teams use our SDK to automate cloud access controls. We have a few happy early customers and design partners who love the product. It's time to get the word out.

We're looking for our first marketing hire to help us tell the world about Sym.

Learn more here:

https://jobs.ashbyhq.com/symops/2c1cd66f-4947-4184-bf3f-32ca...


Sym | Growth | Full-Time | Americas/Western Europe | REMOTE

If you're interested in joining a devtools start up as the first growth hire, we'd love to chat.

https://jobs.ashbyhq.com/symops/ccb30941-be0b-434a-9671-d716...

Sym helps developers build access flows for their infrastructure resources using code. The Sym SDK makes it easy to create workflows for things like temporary access to an S3 bucket or moving a user between Okta groups, which you can then expose in a Slack UI for your team members to use right in their existing channels.


Front page was loading but queries returned 500s.

Now front page won't load.


The current two top stories reminded me of this.


One thing that might be of interest is that I explore a way to determine IAM actions needed to execute Terraform by first running it against LocalStack.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: