Hacker News new | ask | show | jobs
by protortyp 470 days ago
Completely unrelated, but I recently switched to using nix with home manager and nix-darwin to handle my entire dev setup and dotfiles.

If you work a lot in remote dev environments (I use coder a lot at work) that really does the trick.

2 comments

Likewise. I have two Mac laptops, three home servers, and a Windows desktop managed by Nix.

The home servers are nixOS, the rest basically have the CLI environment managed with nix-darwin and nixos-wsl, all with one flake (Git repo) containing all the configuration.

Case in point - this morning I’m rebuilding one of the servers onto new hardware, and the longest time spent was getting the flake config onto the server with git clone. Now just watching the rebuild switch command output, after which it’s good to go.

I had to switch off nix because my company's security controls made it impossible to use :(