I have a laptop privided to me by my employer. The OS is Ubuntu 22 with some customisations. And I’m not allowed to reinstall it.
I am using this laptop to develop a flake. A proprietary tool for our development processes. While doing that, I frequently face some weird issues:
- `whoami: cannot find name for user ID` in `nix develop` - #10 by synalice
- Can use `sudo` with `nix-profile` - #5 by synalice
- My
devShell
requiredglibcLocales
package andexport LC_ALL=C.utf-8
to correctly handle Cyrillic characters. - Using some Nix applications outside of NixOS requires the use of a wrapper because they don’t have access to systems video drivers.
While these things are a huge pain to debug,I’ve embraced them — Nix is hermetic, so I have to setup the environment myself.
But! How many of the same issues would I find on NixOS? I feel like it’s already tailored to Nix and things will “just work”. And that’s bad. That means that while it would work for me, it wouldn’t work for everyone else in my company.
Though Nix is supposed to be hermetic, it seems like there are a lot of Platform specific quirks that could influence it.
Recently I bought a new laptop. I really want to use NixOS. It might be a smooth sailing for me, but I fear that it will hide errors from me and leave my flake broken for everyone else who doesn’t use NixOS. I know I could test the flake on my corporate laptop once in a while, but that not the same as developing and debugging in the same environment.