nixos-fhs-compat VS distrobox

Compare nixos-fhs-compat vs distrobox and see what are their differences.

nixos-fhs-compat

LSB&FHS compatibility for NixOS. Intended for containers and VMs. (by balsoft)

distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox (by 89luca89)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nixos-fhs-compat distrobox
7 403
57 9,061
- -
2.4 9.6
3 months ago 6 days ago
Nix Shell
- GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nixos-fhs-compat

Posts with mentions or reviews of nixos-fhs-compat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-18.
  • Why can't things "just work" on NixOS?
    3 projects | /r/NixOS | 18 Nov 2022
    You can, in theory, use https://github.com/balsoft/nixos-fhs-compat for this.
  • Arch + NixOS at once?
    4 projects | /r/NixOS | 3 Mar 2022
    There's also nix-alien to run random binaries and nixos-fhs-compat to FHS your OS (might need some tweaking).
  • The Curse of NixOS
    3 projects | /r/NixOS | 24 Jan 2022
  • Containers with easy graphics acceleration?
    3 projects | /r/NixOS | 24 Aug 2021
    Thanks, it was fun working with containers in NixOS! I tweaked the config a little bit so that the DISPLAY variable is automatically set and I also added nixos-fhs-compat's modules so that the guest OS uses FHS. Overall, a very slick setup if you want to run GPU-accelerated software quickly or what to do software development in a more traditional environment.
  • Way to install apps in their own FHS environment.
    3 projects | /r/NixOS | 11 Mar 2021
    There's buildFHSUserEnv as the proper way to run those apps, and there's also a massive hack that I don't really recommend using on your host: https://github.com/balsoft/nixos-fhs-compat . If you want to use it, do it with something similar to this: https://github.com/balsoft/kalinix/blob/master/scripts/run-container and then run your vscode/android studio/etc inside that container. The final option is to just run another distro with docker or lxc, set up X11/Wayland passthru to it and run stubborn applications that way.
  • Do we need an alternative to the Filesystem Hierarchy Standard?
    2 projects | /r/linux | 28 Feb 2021
    The root filesystem only contains two FHS-y symbolic links by default: /bin/sh and /usr/bin/env (and some /etc stuff that is hardcoded in some applications and wasn't considered to be worth patching). All the other files are kept in non-FHS-compliant locations (/nix/var/nix/profiles/per-user/*/default and /run/current-system/sw or /nix/var/nix/profiles/system). This means, for example, that binaries from other Linux distros won't run unless they have been statically compiled with musl (because there's no dynamic linker at /lib/ld-linux.so.2). There's this hack courtesy of Matthew Bauer that links stuff to FHS locations: https://github.com/balsoft/nixos-fhs-compat , but it's not supported upstream and it doesn't change how all the internal Nix stuff works, it's only a wrapper to allow running FHS and LSP-reliant binaries.

distrobox

Posts with mentions or reviews of distrobox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Show HN: Convert your Containerfile to a bootable OS
    10 projects | news.ycombinator.com | 7 May 2024
    That seems more like Distrobox to me(?) https://distrobox.it/
  • Windows 11 now comes with its own adware
    1 project | news.ycombinator.com | 24 Apr 2024
    Regarding the stability issue on a dev machine - you may be interested in playing with one of the immutable-os distros, such as SilverBlue (fedora based).

    The high-level take-away is you can't break your actual OS since it's root filesystem is read-only, and you use "pet" containers (on docker, podman, whatever) to do your work in. Applications are either sandboxed via Flatpak, or installed/run inside your pet containers. If your pet container dies, you cry about it for a moment, and when you're ready you get a new one - your actual os and other containers remain unaffected.

    I use distrobox[1] to create/run the pet containers.

    [1] https://github.com/89luca89/distrobox

  • Tools for Linux Distro Hoppers
    7 projects | dev.to | 27 Mar 2024
    Distrobox is a tool that enables us to try Linux distro CLI, including their package manager. This requires a containerization tool (e.g., Docker). In Windows, this can be achieved using WSL (Windows Subsystem for Linux)
  • Distrobox: Use any Linux distribution inside your terminal
    1 project | news.ycombinator.com | 10 Feb 2024
  • Fedora Atomic Desktops
    3 projects | news.ycombinator.com | 9 Feb 2024
    I use containerized versions of things, ubuntu and chainguard images mostly.

    You can always create containers with init if that's how you want to do that though. Some distros publish images that come that way: https://github.com/89luca89/distrobox/blob/main/docs/useful_...

  • Raspberry Pi is manufacturing 70K Raspberry Pi 5s per week
    1 project | news.ycombinator.com | 15 Jan 2024
    https://news.ycombinator.com/item?id=38505448 ... https://github.com/89luca89/distrobox/blob/main/docs/useful_...
  • Operating System?
    1 project | /r/SteamDeck | 11 Dec 2023
    Yes, you can do that but I've seen others use something like distrobox to run linux inside of SteamOS: https://github.com/89luca89/distrobox/blob/main/docs/posts/steamdeck_guide.md
  • How much will I screw up my system after installing Merkuro Calendar (KDE Akonadi application), formerly called Kalendar, on GNOME?
    1 project | /r/gnome | 11 Dec 2023
    For such cases you might use something like this: https://github.com/89luca89/distrobox
  • Battery consumption of using remote development with WSL2?
    2 projects | /r/bashonubuntuonwindows | 7 Dec 2023
    Btw #3: Depending on what the user is trying to accomplish, e.g. maybe to make WSL(2) itself more of a "subsystem" than a "container engine", using something like Distrobox or nsbox.dev can be a good idea (along with Docker or Podman in Distrobox's case; the other one uses systemd-nspawn).
  • Cannot run containers with Distrobox
    1 project | /r/debian | 7 Dec 2023
    1. Find here in "Containers Distros" section the distro image that you want to install ("Toolbox" versions are better because they are configured for Distrobox) and get it URL: https://distrobox.it/compatibility/#containers-distros 2. Use that URL to create Distrobox: distrobox create -i registry.fedoraproject.org/fedora-toolbox:39 -n fedora_1_39 3. Enter Distrobox fedora_1_39: distrobox enter fedora_1_39 4. You are already in Distrobox console. Look at the name in console, it should be include the container name. 5. To exit Distrobox: exit 6. If you run: distrobox list you will see all distroboxes on the system. You will also see that distrobox that we exited is still running. 7. To stop distrobox use commands: distrobox stop fedora_1_39

What are some alternatives?

When comparing nixos-fhs-compat and distrobox you can also consider the following projects:

nix-alien - Run unpatched binaries on Nix/NixOS

toolbox - Tool for interactive command line environments on Linux

nixos-shell - Spawns lightweight nixos vms in a shell

wsl-distrod - Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.

kalinix - A pentesting/CTF toolbox with the help of Nix

docker-android - Android in docker solution with noVNC supported and video recording

nixpkgs - Nix Packages collection & NixOS

flatpak - Linux application sandboxing and distribution framework

nixos - My system configuration

rustdesk - An open-source remote desktop, and alternative to TeamViewer.

nixos

toolbox-vscode - Toolbox Visual Studio Code integration