Skip to content

okrc/CachyOS-WSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CachyOS WSL Root Filesystem

This project is used to generate the CachyOS root filesystem for WSL.

Usage

  1. Add a registry key:

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss" /v DistributionListUrlAppend /t REG_SZ /d "https://github.com/okrc/CachyOS-WSL/releases/latest/download/DistributionInfo.json" /f
    New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss -Name DistributionListUrlAppend -Force -Type String -Value https://github.com/okrc/CachyOS-WSL/releases/latest/download/DistributionInfo.json
  2. List available WSL distributions:

    wsl -l -o
  3. Install CachyOS:

    wsl --install CachyOS

Default Shell Configuration

CachyOS customizes shell theme packages cachyos-fish-config and cachyos-zsh-config. You can choose your preferred shell, either fish or zsh.

  • To install fish configuration:

    sudo pacman -Sy --needed --noconfirm cachyos-fish-config
    mkdir -p ~/.config/fish
    cp /etc/skel/.config/fish/config.fish ~/.config/fish/config.fish
  • To install zsh configuration:

    sudo pacman -Sy --needed --noconfirm cachyos-zsh-config
    cp /etc/skel/.zshrc ~/