Skip to content

Instantly share code, notes, and snippets.

@FruitieX
Created November 13, 2018 16:19
Show Gist options
  • Save FruitieX/28500ee32e00a5687c7f5031fb5b9922 to your computer and use it in GitHub Desktop.
Save FruitieX/28500ee32e00a5687c7f5031fb5b9922 to your computer and use it in GitHub Desktop.
Install Nix and direnv on WSL
sudo mkdir /etc/nix
echo "use-sqlite-wal = false" | sudo tee -a /etc/nix/nix.conf
curl https://nixos.org/nix/install | sh
source ~/.profile
nix-env -iA direnv
echo "eval \"\$(direnv hook bash)\"" >> ~/.profile
source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment