lostlang / nixos-wsl-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instalation

  1. Install NixOS WLS (in Windows PowerShell) (link)
  2. Pre configuation (in WSL)
    sudo nix-channel --update
    nix-shell -p git
  3. Install dots (in WSL)
    git clone https://github.com/lostlang/nixos-wsl-config $HOME/.config/nixos
    cd $HOME/.config/nixos
    sudo nixos-rebuild switch --flake .#lostwsl
    home-manager switch --flake .
    sudo nix-collect-garbage -d
    nix-collect-garbage -d
  4. Reboot WLS (in Windows PowerShell)
    wsl --shutdown
    
  5. Post configuration (in WSL)
    ssh-keygen

Windows addition

  1. Install win32yank (use Scoop (link))

About


Languages

Language:Nix 100.0%