Hasty Briefsbeta

Bilingual

Show HN: NSL – WSL for Linux

4 hours ago
  • nsl provides persistent Linux machines on any Linux host using systemd-nspawn containers, similar to WSL for Windows.
  • Each machine is a whole distro with its own packages and services, running in a small VM that starts on demand and works in user files.
  • Commands include 'nsl create' to set up a distro, 'nsl' for a login shell, and 'nsl run' for single commands with exit status.
  • Features include access to user files via /mnt/host, passwordless sudo, port forwarding to host 127.0.0.1, Wayland window support, and seven signed distros rebuilt weekly.
  • Isolation mode (--isolated) gives a machine its own VM with no host file or desktop access, for untrusted software.
  • nsl runs as user, installs no host packages, and does not change device permissions, groups, or sudoers; it is pre-release with tested host configuration.