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 ghcup
ghcup install ghc
mkdir -p /c/sources/
cd /c/sources
git clone [email protected]:ryantam626/kmonad.git
cd kmonad
stack install
ssh-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.pub
cd /c/sources
git clone [email protected]:ryantam626/windows-rice.git
cmd.exe /k kmonad.exe C:\sources\windows-rice\windows-dotfiles\kmonad\regular-keyboard.kbd -l info
Invoke-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.9
curl -sSL https://install.python-poetry.org | python3 -
cd /c/sources
git clone [email protected]:ryantam626/mado.git
cd mado/mado-py
$HOME/AppData/Roaming/Python/Scripts/poetry.exe shell
$HOME/AppData/Roaming/Python/Scripts/poetry.exe install
JUST 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.cmd
Get it from https://aka.ms/terminal.
wsl.exe --install -d Ubuntu-24.04
Reboot afterwards.
sh <(curl -L https://nixos.org/nix/install) --no-daemon
Then restart WSL shell to pick it up in shell.
nixconf=~/.config/nix/nix.conf
mkdir -p $(dirname $nixconf)
echo "experimental-features = nix-command flakes" > $nixconf
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
windows_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 [email protected]:ryantam626/windows-rice.git
cd windows-rice/ubuntu-home-manager
home-manager switch --flake .#rtam
~/windows-rice/installers/docker.sh
~/windows-rice/installers/pyenv.sh
home 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.