From 3317d24ebe2db644f9e952b6d306cf7d2e0d73d9 Mon Sep 17 00:00:00 2001 From: Daniel Thoren Date: Thu, 26 Jun 2025 14:30:46 +0200 Subject: [PATCH 1/2] doc: nix-community/NixOS-WSL quickstart :memo: --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3e14a03..35066bd 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ This repo is an extension of [dannydannydanny/methodology](https://github.com/Da ### WSL +Installation: [nix-community/NixOS-WSL Quickstart](https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file#quick-start). ``` wsl --install --web-download -d Debian # From 75fd6193d53009a0a2f401459b95f19ba7f0c117 Mon Sep 17 00:00:00 2001 From: Daniel Thoren Date: Fri, 27 Jun 2025 15:22:50 +0200 Subject: [PATCH 2/2] doc: wsl-nixos setup :snowflake: --- README.md | 43 +++++++++++++------------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 35066bd..4f6a3a9 100644 --- a/README.md +++ b/README.md @@ -60,36 +60,19 @@ This repo is an extension of [dannydannydanny/methodology](https://github.com/Da ### WSL -Installation: [nix-community/NixOS-WSL Quickstart](https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file#quick-start). -``` -wsl --install --web-download -d Debian -# -# /dev/null -echo generateResolvConf = false | sudo tee -a /etc/wsl.conf > /dev/null - -# fix WSL nameserver -echo 'nameserver 8.8.8.8' | sudo tee -a /etc/resolv.conf > /dev/null -sudo apt update && sudo apt upgrade -y - -# install dependencies for dotfiles installation -sudo apt install -y git curl - -# install dependencies for tmux -sudo apt install -y build-essential ncurses-dev +Install via [nix-community/NixOS-WSL Quickstart](https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file#quick-start) :white_check_mark: +Setup dotfiles / config via github: +```bash +# git and github CLI tool in a temp shell +nix-shell -p gh git +# authenticate +gh auth login +# clone dotfiles +gh repo clone dannydannydanny/dotfiles +# checkout the appropriate branch +git checkout feat/wsl-neovim-update +# rebuild system with +sudo nixos-rebuild switch --flake ~/dotfiles/nixos/ ``` ### Clone repo SSH method