[unix_distributions][nixos] Initial commit - #1226
Conversation
|
@ShadowApex This is my first pass at initial notes and important things to know about NixOS. Does this look accurate? Is there any other newbie/beginner information I'm missing here? My idea for the second pass is to start explaining flakes. |
Looks good! Very nice notes! One thing I might also recommend for beginners is enabling something called nix-ld. By default on NixOS, you can't just run a random Linux binary that was built for a normal distribution. This is due to NixOS not using a standard filesystem hierarchy (e.g. there is no Here's how I enable it in my configuration: services.envfs.enable = true;
programs.nix-ld = {
enable = true;
libraries = pkgs.steam-run.args.multiPkgs pkgs;
}; |
|
Oh, interesting. This must be related to how a few things are also needed for AppImages and Flatpaks to work. But, in this case, it's for random binaries. Thanks for the suggestion, I'll have to play around with that and document it! |
How to enable and use it to help run non-NixOS Linux binaries.
|
Thanks again. I added notes about |
No description provided.