(updated versions of this document, plus more, live here)
This will show you how to get Guix running on WSL2.
We're going to go as "minimal" as possible, without starting off one of the readily available WSL2 distros.
Parts of this guide should help with understanding how to set up any custom distro on WSL, not just Guix.
Disclaimer: I'm a Guix nOOb! (hence going through the trouble of installing it on WSL2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Just some notes on enabling smart http with nginx as well as authentication on push for repos | |
| # install git, cgit and apache2-utils (for authentication) | |
| apt install git cgit apache2-utils fcgiwrap | |
| # create a git user | |
| useradd -m -d /srv/git git | |
| su git | |
| cd | |
| mkdir .ssh && chmod 700 .ssh | |
| touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys |