Mirror — primary at git.dannydannydanny.me
Find a file
2024-06-03 21:59:43 +02:00
.config 🎨 fix indentation 2024-02-19 19:59:53 +01:00
.github/workflows 🚚 rename workflow 2023-06-14 13:11:08 +02:00
.ssh vimwiki: dth @ DK023900WSL 2022-09-05 14:55:07 +02:00
bashscripts add script mzavoloka/gitls 2023-02-18 20:26:28 +01:00
etc 🦆 windows config lol 2022-09-22 13:48:38 +02:00
music_conf 📝 add requirements note 2022-05-19 18:36:54 +02:00
nixos add first configuration.nix 2024-06-02 21:44:17 +02:00
nvim_python_provider 🐍 make trgt for nvim pyprovider 2023-04-16 20:38:10 +02:00
scripts vimwiki: dth @ DK023900WSL 2022-10-13 15:57:13 +02:00
.editorconfig 🎨 expand editorconfig for makefile & brewfile 2022-05-31 15:14:03 +02:00
.fzf.zsh vimwiki: dth @ DK023900WSL 2023-04-11 09:07:53 +02:00
.gitignore 🙈 ignore py env 2022-06-22 23:04:40 +02:00
.locale.conf vimwiki: dth @ DK023900WSL 2023-06-27 09:11:23 +02:00
.tmux.conf 🎨 remap tmux prefix to M-f 2023-11-28 19:17:54 +01:00
.zshrc 🐛 💥 lf + fzf hotfix 2023-05-10 14:42:23 +02:00
brewfile 🎨 cleanup brewfile 2022-05-31 15:17:57 +02:00
firefox-scrolling.md 📝 doc: update firefox-scrolling.md 2024-06-03 21:59:43 +02:00
gist-read-write.ipynb vimwiki: dth @ dth-MacBookAir 2022-07-26 17:25:29 +02:00
install.sh 🔥 remove removal of omz/omb 2024-02-03 19:59:31 +01:00
install_fish.sh link fish config 2024-02-03 20:08:48 +01:00
install_fzf.sh 🥅 add basic error handling 2023-11-04 20:04:25 +01:00
install_nvim.sh 🚚 nvim config to install script 2023-11-10 21:25:59 +01:00
install_python.fish 💥 draft python install fish script 2024-02-03 21:24:18 +01:00
install_tmux.sh update tmux config link 2024-02-03 20:09:24 +01:00
LICENSE Initial commit 2022-03-28 15:12:54 +02:00
makefile 🔥 remove lf make target 2023-11-10 21:50:42 +01:00
README.md 📝 doc xfce trackpad gestures 2024-03-31 22:15:11 +02:00
sas-cae.ahk vimwiki: dth @ DK023900WSL 2022-12-28 14:19:57 +01:00
server-ip-sync.md 🚧 wip SIS make-rules 2022-06-22 23:47:22 +02:00
server.md vimwiki: dth @ DK023900WSL 2023-01-09 09:04:59 +01:00
ubuntu.md 📝 debloat ubuntu 2023-11-15 20:28:46 +01:00

dotfiles

This repo is an extension of dannydannydanny/methodology

  1. Debian Setup (+ customizations)
  • pure see issue 3
  • wsl
  • codespaces
  • github actions
  1. Core Tool Chain (fish, tmux, nvim, fzf)
  2. Customizations (github via ssh, ...)

Roadmap:

  • post OS install remove ubuntu.md
  • configure firefox-scrolling via terminal
  • 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...)
  • refine install scripts
  • low-level configs:
    • config tmux-local vs tmux-remote
      • remote nested sessions
      • change tmux:pane-switching bindings from arrow keys to vim bindings
  • specific machine level debian config:
  • music config
    • mpd, mpc, ncmpcpp
    • test on new machine with music dir
    • fonts
      • how does this relate to nerdfonts?

Debian Setup

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

WSL

wsl --install --web-download -d Debian
# <set username>
# <set password
# debian launches automatically

# set Debian as default (equivalent to `wsl -s Debian`)
wsl --set-default Debian

# update wsl
wsl --update --web-download

# launch debian in the home directory
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

Skip this if you don't plan on getting SSH access to github repos and clone with HTTP instead

generate ssh

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'

# add the output to https://github.com/settings/ssh/new
cat ~/.ssh/id_*_github.pub
# add to https://github.com/settings/ssh/new

activate ssh

echo 'adding key to ssh-agent'
eval `ssh-agent -s`  # if using fish shell run: eval "$(ssh-agent -c)"
ssh-add ~/.ssh/id_*_github

# download dotfiles repo
git clone git@github.com:DannyDannyDanny/dotfiles.git

# config git
cd dotfiles
git config user.name "DannyDannyDanny"
git config user.email "dth@taiga.ai"
git config pull.rebase false

# install dotfiles
bash install.sh

# hop back out
cd ..

Clone repo HTTP method

git clone https://github.com/DannyDannyDanny/dotfiles.git

add sshd persistency

fisher

curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
fisher install jorgebucaran/nvm.fish

  • sort thse notes
    • configure git (inspired by make setup_git)
    • install autohotkey
      • add script: shift and space + caps and escape: sas-cae.ahk
    • neofetch
  • linux main drive config:
    • desktop environment journal: I have been comfortly (but numbly) been running GNOME 43.9 for the past couple years. Xfce 4.18 is a bit janky and requires significant customization (e.g. keyboard bindings, trackpad gestures) to be usable. It is super lightweight and customizable and I can see myself going back when it matures - or when limited by hardware. Going to try KDE Plasma. I've been recommended it several times and KDE is also behind Krita (painting program) and kdenlive (video editing program).