From b5c4565519c2e662139375417ae7dbce8f0a54a4 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Thu, 3 Jul 2025 12:02:55 +0000 Subject: [PATCH] merge README from WSL branch --- README.md | 54 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 060241f..9ee0315 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@ # dotfiles -[`nixos`](https://nixos.org/) + [`tmux`](https://github.com/tmux/tmux/?tab=readme-ov-file#welcome-to-tmux) + [`fish`](https://fishshell.com/) + [`neovim`](https://neovim.io/) - This repo is an extension of [dannydannydanny/methodology](https://github.com/DannyDannyDanny/methodology/) +1. Debian Setup (+ customizations) + * pure see [issue 3]([url](https://github.com/DannyDannyDanny/dotfiles/issues/3)) + * [wsl](#wsl) + * codespaces + * github actions +2. Core Tool Chain (fish, tmux, nvim, fzf) +3. Customizations (github via ssh, ...) + ## Roadmap: * ~post OS install~ remove [ubuntu.md](ubuntu.md) @@ -54,19 +60,35 @@ This repo is an extension of [dannydannydanny/methodology](https://github.com/Da ### WSL -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/ +``` +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 ``` ### Clone repo SSH method @@ -97,6 +119,8 @@ cd dotfiles git config user.name "DannyDannyDanny" git config user.email "dth@taiga.ai" git config pull.rebase false +git config push.autoSetupRemote true +# more git config: https://blog.gitbutler.com/how-git-core-devs-configure-git/ # install dotfiles bash install.sh