5.2 KiB
5.2 KiB
dotfiles
This repo is an extension of dannydannydanny/methodology
Roadmap:
- post OS install: ubuntu
- post post OS install: firefox-scrolling
- repurpose server-ip-sync
- server cluster roadmap: server
- add server-sync make-rule for ip-upload python cronjob
- add server-sync make-rule for server ip fetching (and writing...)
- low-level configs:
- config tmux-local vs tmux-remote
- remote nested sessions
- change tmux:pane-switching bindings from arrow keys to vim bindings
- config tmux-local vs tmux-remote
- specific machine level config:
config mac local machine- debian local machine
- debian server
- music config:
- mpd, mpc, ncmpcpp
- test on new machine with music dir
- fonts
- how does this relate to nerdfonts?
Windows
- disable system sounds:
start menu search: "change system sounds" -> set profile to None - change language / keyboard layout to
en_US - get local admin rights
- install powertoys
- remap CAPS LOCK to L-CTRL
- tmux pasteboard should play with windows pasteboard
- configure nvim clipboard to use system clipboard - had to setup some windows yank script
- install portmaster network monitor
- install basic miktex (for LaTeX)
apt install texlive texlive-latex-extra(?)
- install alacritty (use the installer, not portable)
- add alacritty config:
/mnt/c/Users/<winuser>/AppData/Roaming/alacritty/alacritty.yml
- add alacritty config:
WSL
- install wsl + WSL specifics
- fix wsl dns issue via stackoverflow
- write wsl.conf:
sudo touch /etc/wsl.confecho "[network]" | sudo tee /etc/wsl.conf > /dev/nullecho "generateResolvConf = false" | sudo tee -a /etc/wsl.conf > /dev/null
- overwrite resolv.conf:
- add content
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
- add content
- write wsl.conf:
- add private folder symlink:
ln -s -f /mnt/c/Users/<winuser>/Private ~/Private
- fix wsl dns issue via stackoverflow
wsl --install --web-download -d Debian
# <set username>
# <set password
# debian launches automatically
# launch debian next time
wsl -d Debian
- To restart:
wsl --unregister Debian - Inside WSL:
- config alacritty windows side:
vi /mnt/c/Users/xxxx/AppData/Roaming/alacritty/alacritty.yml sudo apt install lsb-release -yto enablelsb_release -aecho 'nameserver 8.8.8.8' | sudo tee -a /etc/resolv.conffix DNS issues
- config alacritty windows side:
Debian
Once debian is running:
# as soon debian is running
sudo apt update && sudo apt upgrade -y
# the following installs aren't necessary in codespace 🤔
sudo apt install -y git curl # dotfiles deps
sudo apt install -y build-essential ncurses-dev # tmux dep
# ssh cloning is available after dotfiles installation - clone to /tmp/ for now
git clone https://github.com/DannyDannyDanny/dotfiles.git /tmp/dotfiles && cd /tmp/dotfiles/
bash install.sh
setup github
ssh-keygen -q -t ed25519 -N '' -f ~/.ssh/id_ed25519_github <<<y >/dev/null 2>&1
echo 'older machines might not support ed25519, then use RSA with 4096 bit key'
echo 'ssh-keygen -q -t rsa -b 4096 -N '' -f ~/.ssh/id_rsa_github <<<y >/dev/null 2>&1'
echo 'add ssh to key to github'
echo 'cat ~/.ssh/id_*_github.pub'
echo 'https://github.com/settings/ssh/new'
echo 'adding key to ssh-agent'
eval `ssh-agent -s` # not just ssh-agent -s
ssh-add ~/.ssh/id_*_github
echo 'dotfiles can now be clones via ssh to home dir'
dotfiles repo via ssh
echo 'clone and git config dotfiles repo'
git clone git@github.com:DannyDannyDanny/dotfiles.git
cd dotfiles
git config user.name "DannyDannyDanny"
git config user.email "dth@taiga.ai"
git config pull.rebase false
cd ..
- remove section from ubuntu.md
- change install script(s) to download file to
/tmp/instead of working directory - consider adding more error handling to install scripts
add sshd persistency
- for bash use github docs: auto-launching-ssh-agent-on-git-for-windows
- fish version (src)
- also run:
ssh-add ~/.ssh/id_*_github
- sort thse notes
- setup ssh github
- configure git (inspired by
make setup_git)- TODO: remove email from makefile
- install build-essential to get
make
- install autohotkey
- add script: shift and space + caps and escape:
sas-cae.ahk
- add script: shift and space + caps and escape: