Run install-nix.sh then reopen your terminal.
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon(or --no-daemon if you do not want it system wide)
curl -fsSL https://raw.githubusercontent.com/Chris-Fr-C/home-manager/refs/heads/main/install-nix.sh | bashto install home-manager
Note: You need to restart your shell at that step.
Then:
mv ~/.config/home-manager ~/.config/home-manager-backup
git clone https://github.com/Chris-Fr-C/home-manager.git ~/.config/home-managerYou can then
cd ~/.config/home-manager && home-manager switch -f axpo-wsl.nixOr you can select home for home setup.
home-manager switch -f work-wsl.nixAfter your first instal you can also just write refresh