Weekly Journal 189 - Helix, Nix

Helix Update

I’m slowly getting used to using Helix as my primary editor. It’s going take some time for me to relearn all of the command mode motions, but I’m starting to feel more comfortable with it. I’m trying to force myself to use it more, and I think the next step will be to set it as my default editor in my environment.

Nix & Devbox

I’ve been really happy for the most part with using Devbox to set up isolated deveopment environments locally on my system. However, I’ve recently run into some limitations that arise when using Nix with operating systems other than NixOS.

Since Nix uses a completely custom file directory structure, programs installed with Nix will look for shared libraries that are located within the Nix file system. This presents a problem with graphical applications, as they are looking for their supporting libraries within Nix, but the display server/compositor is running under the main operating system. This leads to unexpected errors and behaviors trying to run graphical applications.

After spending some time figuring this out and trying (unsucessfully) a couple of workarounds, I might have to abandon Devbox/Nix in favor of something else. Alternatively, I might try this out on NixOS system. Presumably these sorts of issues wouldn’t occur when the whole system is built around Nix. That presents several other issues that I’m not sure I want to tackle at the moment. I’ll have to think through this a bit more, and maybe try an experiment or two before making a decision.

#weekly-journal
Copyright © 2016-2024 Scott Banwart

This work is licensed under Creative Commons Attribution-ShareAlike 4.0 International