logoalt Hacker News

bzmrgonzlast Saturday at 4:41 AM8 repliesview on HN

Fyi: NixOS would shine everytime a client handed you a laptop for the gig. Your working environment reproducible and declarative. Setup in minutes, not hours.


Replies

AyyEyelast Monday at 5:22 AM

Having to figure out how to make whatever random god-awful corporate software they got sold work on nixos -- on a deadline -- sounds like seven circles of hell.

brainlessdevlast Sunday at 7:33 PM

NixOS rocks, but if there is some software you need to install to comply with company policies (e.g. Vanta) then you may be in for some unexpected tinkering.

I would suggest Home Manager though, which will let you set up your environment just as well and is very portable, while still affording you a mainstream host system of the company's choice.

show 3 replies
Jean-Papouloslast Monday at 7:09 AM

Absolutely not, the company laptop will be locked down and you won't be able to install your own OS.

show 2 replies
TZubirilast Monday at 4:00 AM

Knowing how to work with builtin tools would shine in that environment. I first learned this style in a Spolsky blogpost were they talked about Wasabi, a language that compiled to either PHP or Visual Basic I think it was, the idea being that those languages were preinstalled in most servers of the era.

In a similar sense, knowing how to work with the builtin tools of major OS is a huge advantage. If you can write your code in vim or nano or notepad without breaking a sweat over your favourite hotkeys not working, that's a lot of hours saved.

SOLAR_FIELDSlast Saturday at 8:21 AM

You don’t even need full on NixOS. I do the same with nix-Darwin and home manager. It’s not the perfect reproducible purists machine due to homebrew and Mac designs but it doesn’t really need to be, just mostly so

show 1 reply
firefoxdlast Sunday at 8:33 PM

2015 me didn't know that. But chances are, I wouldn't have been able to install it with their company software policy tools.

iberatorlast Sunday at 10:13 PM

Ansible and vagrant is easier and battle tested.