All Projects → balsoft → nixos-fhs-compat

balsoft / nixos-fhs-compat

Licence: other
LSB&FHS compatibility for NixOS. Intended for containers and VMs.

Programming Languages

Nix
1067 projects

A library that implements support for LSB and FHS in NixOS.

⚠️ This library is only intended to be used in containers. Usage on a NixOS host system may result in irreproducibility and prevent you from contributing to nixpkgs. Use at your own risk.

TLDR

containers.fhs-compat.config = {...}: {
  imports = [ inputs.nixos-fhs-compat.nixosModules.combined ];
  environment.fhs.enable = true;
  environment.fhs.linkLibs = true;
  environment.lsb.enable = true;
  environment.lsb.support32Bit = true;
}

Credits

All the hard work was done by @matthewbauer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].