Manually downloading from web myself.
Download this, extract and move into C:\Windows\Fonts manually.
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/CascadiaCode.zip
- git
- stack, ghcup for kmonad compilation
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iwr -useb get.scoop.sh | iex
scoop install git stack ghcupghcup install ghcmkdir -p /c/sources/
cd /c/sources
git clone git@github.com:ryantam626/kmonad.git
cd kmonad
stack installssh-keygen or just reuse some key.
mkdir ~/.ssh
vim ~/.ssh/id_ed25519
vim ~/.ssh/id_ed25519.pub
chmod 600 ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pubcd /c/sources
git clone git@github.com:ryantam626/windows-rice.gitcmd.exe /k kmonad.exe C:\sources\windows-rice\windows-dotfiles\kmonad\regular-keyboard.kbd -l infoInvoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"pyenv update
pyenv install 3.11.9
pyenv global 3.11.9curl -sSL https://install.python-poetry.org | python3 -cd /c/sources
git clone git@github.com:ryantam626/mado.git
cd mado/mado-py
$HOME/AppData/Roaming/Python/Scripts/poetry.exe shell
$HOME/AppData/Roaming/Python/Scripts/poetry.exe installJUST AN EXAMPLE - you might need to fix the path.
C:\Windows\System32\cmd.exe /k C:\Users\ryant\AppData\Local\pypoetry\Cache\virtualenvs\mado-4nSdn9uw-py3.11\Scripts\mado-run.cmdGet it from https://aka.ms/terminal.
wsl.exe --install -d Ubuntu-24.04Reboot afterwards.
sh <(curl -L https://nixos.org/nix/install) --no-daemonThen restart WSL shell to pick it up in shell.
nixconf=~/.config/nix/nix.conf
mkdir -p $(dirname $nixconf)
echo "experimental-features = nix-command flakes" > $nixconfnix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A installwindows_user_name=ryant
windows_ssh_dir=/mnt/c/Users/$windows_user_name/.ssh
cp -r $windows_ssh_dir ~
sudo chown $USER ~/.ssh/id*
sudo chown 600 ~/.ssh/id*git clone git@github.com:ryantam626/windows-rice.gitcd windows-rice/ubuntu-home-manager
home-manager switch --flake .#rtam~/windows-rice/installers/docker.sh
~/windows-rice/installers/pyenv.shhome manager cannot manage this for us.
command -v zsh | sudo tee -a /etc/shells
sudo chsh -s "$(command -v zsh)" "${USER}"Restart shell after.
See windows-dotfiles/windows-terminal.json and copy and paste that into terminal config.
See imgs dir.
Copy and paste the .ideavimrc from WSL root to windows root.