Skip to content

thermokarst/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

hostnames

  • rattusrattus: macbook
  • yersiniapestis: wsl (debian)
  • devterm: devterm (debian)

steps

(1) set the fqdn (this is necessary for some of the host-specific chezmoi config):

# debian standalone
sudo hostnamectl set-hostname $MY_HOSTNAME.local

# debian wsl
echo -e "[network]\nhostname = $MY_HOSTNAME" | sudo tee -a /etc/wsl.conf

# macos
sudo scutil --set HostName $MY_HOSTNAME.local
sudo scutil --set LocalHostName $MY_HOSTNAME
sudo scutil --set ComputerName $MY_HOSTNAME
dscacheutil -flushcache

(2) reboot

(3) set up the package manager and bootstrap dependencies:

# debian
sudo apt update
sudo apt install curl zsh git

(4) set the initial shell:

# debian
chsh -s $(which zsh)

# macos
# NA

(5) https://typeof.net/Iosevka/

(6) install age private key from password manager into ~/.key.txt

(7) bootstrap chezmoi:

sh -c "$(curl -fsLS get.chezmoi.io)" -- \
  init \
  git://pingo.thermokar.st/dotfiles \
  --apply \
  --guess-repo-url=false

(8) set the new shell (in case installing from 3rd-party package manager):

# debian
# NA

# macos
sudo chpass -s '/opt/local/bin/zsh' $USER

(9) restart shell

(10) grab project source

ssh -T [email protected]
gwar ~/.local/share/chezmoi/data/personal.toml

(11) install miniconda:

# debian
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh

# macos
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -O miniconda.sh

# then, for either os:
chmod +x miniconda.sh
sudo ./miniconda.sh -b -u -p /opt/miniconda3

(12) set up non-automated software and tools:

  • steermouse (license in email): btn4==fwd, btn5==bck
  • logitech control center
  • lunar
  • magnet

About

mirror of git://pingo.thermokar.st/dotfiles

Resources

Stars

Watchers

Forks