What other approaches do folks use to deterministically customize Linux?

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (4 children)

That's not entirely true, unless you choose to nixify everything. You can just have a basic Nix configuration that installs whatever programs you need, then use stow (or whatever symlink manager you prefer) to manage the rest of your config.

You can't entirely forget that you're on NixOS because of FHS noncompliance but even then getting nix-ld to work doesn't require a lot of effort.

  • source
  • parent
  • hideshow 4 child comments
  • [–] [S] 5 points 1 year ago (3 children)

    nix-ld has been really helpful. I wish there were some automated tools where you could feed at the binary, or a directory of binaries, and it would just return all of the nix package names you should add include with nix-ld.

    Also if there were some additional flags to filter out redundant packages because of overlapping recursive dependencies or suggest a decent scope of meta package to start with for desktop environments, that'd be handy.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago (2 children)

    I wish there were some automated tools where you could feed at the binary, or a directory of binaries, and it would just return all of the nix package names you should add include with nix-ld.

    https://github.com/Lassulus/nix-autobahn and specifically its nix-autobahn-find-libs comes pretty close at least? Were you aware of that already and is there something missing?

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 4 points 1 year ago (1 child)

    Indeed, I was unaware of this project. Project commit history looks inactive, but I'm guessing its feature-complete? Looks like someone has rewriten it with an added TUI:

  • source
  • parent
  • hideshow 1 child comment