doc: merge readme from main 📝

This commit is contained in:
DannyDannyDanny 2025-07-04 16:39:48 +00:00
parent 371c895990
commit a8da77b596

View file

@ -1,14 +1,8 @@
# dotfiles # dotfiles
This repo is an extension of [dannydannydanny/methodology](https://github.com/DannyDannyDanny/methodology/) [`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/)
1. Debian Setup (+ customizations) This repo is an extension of [dannydannydanny/methodology](https://github.com/DannyDannyDanny/methodology/)
* 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: ## Roadmap:
@ -60,35 +54,19 @@ This repo is an extension of [dannydannydanny/methodology](https://github.com/Da
### WSL ### WSL
``` Install via [nix-community/NixOS-WSL Quickstart](https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file#quick-start) :white_check_mark:
wsl --install --web-download -d Debian Setup dotfiles / config via github:
# <set username> ```bash
# <set password # git and github CLI tool in a temp shell
# debian launches automatically nix-shell -p gh git
# authenticate
# set Debian as default (equivalent to `wsl -s Debian`) gh auth login
wsl --set-default Debian # clone dotfiles
gh repo clone dannydannydanny/dotfiles
# update wsl # checkout the appropriate branch
wsl --update --web-download git checkout feat/wsl-neovim-update
# rebuild system with
# launch debian in the home directory sudo nixos-rebuild switch --flake ~/dotfiles/nixos/
wsl ~
# stabilize wsl.conf (so it doesn't overwrite `resolv.conf` in next step)
sudo touch /etc/wsl.conf
echo [network] | sudo tee -a /etc/wsl.conf > /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 ### Clone repo SSH method