News for hackers. Stuff that matters.
Re:Modern Linux tools by kokada on Monday October 13, 2025 @08:18AM (#45567515)
One of the reasons I really like Nix, my setup works basically everywhere (as long the host OS is either Linux or macOS, but those are the only 2 environments that I care). I don't even need root access to install Nix since there are multiple ways to install Nix rootless.

But yes, in the eventual case that I don't have Nix I can very much use the classic tools. It is not a binary choice, you can have both.

Re:Modern Linux tools by samtrack2019 on Monday October 13, 2025 @10:31AM (#45568731)
are you going to install nix in a random docker container?
Re:Modern Linux tools by 0x696C6961 on Monday October 13, 2025 @10:55AM (#45568997)
mise is a good middle ground.
Re:Modern Linux tools by kokada on Monday October 13, 2025 @01:40PM (#45571170)
I am not sure how mise would be a "good middle ground" compared to Nix, considering it is really easy to get a static binary version of Nix. Nowadays it even works standalone without creating a `/nix` directory, you can simply run the binary and it will create everything you need in `~/.local/state/nix` if I remember correctly. And of course Nix is way more powerful than mise.
Re:Modern Linux tools by kokada on Monday October 13, 2025 @01:38PM (#45571145)
That is why I said that I still know how to use basic Unix tools. If I am debugging something so frequently that I feel that I need to install my Nix configuration just to get productive there is something clearly going wrong.

For example, in $CURRENT_JOB we have a bastion host that gives access to the databases (not going to discuss if this is a good idea or not, this is how my company does). 90% of time I can do whatever I need just with what the bastion host offers (that doesn't have Nix), if I need to do further analysis I can copy some files between the bastion host and my computer to do further analysis.

Re:Modern Linux tools by VTimofeenko on Monday October 13, 2025 @11:32PM (#45575980)
I've gotten great mileage out of a ttyd-based container that runs bash with nix. Ttyd exposes the shell over web endpoint.

I can just drop it into the environment and pull in tools that I need using nix.