Skip to content

nprorekhin/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This is how I setup my computer. I took a lot of inspiration from the following dotfiles repositories:

Feel free to take mine as an inspiration as well.

Install

This is not guaranteed to work for anyone anywhere, nor is it supposed to. These are just my instructions for myself. Requires root user privileges.

mkdir -p \
  ~/Documents \
  ~/Downloads \
  ~/Other \
  ~/Pictures \
  ~/Projects \
  ~/Sync

# Add config repo to gitignore important to avoid recursion troubles
echo .cfg >> .gitignore

# If autogenerated .bashrc exists, delete it
rm .bashrc

# Install dotfiles
git clone --bare https://github.com/JohannesNakayama/dotfiles.git $HOME/.cfg
alias cfg='/run/current-system/sw/bin/git --git-dir=/home/johannes/.cfg/ --work-tree=/home/johannes'
cfg config --local status.showUntrackedFiles no
cfg checkout master

# Download alacritty themes
mkdir -p ~/.config/alacritty/themes
git clone https://github.com/alacritty/alacritty-theme ~/.config/alacritty/themes

# Install zgen for zsh plugin management
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"

# Create symlinks for nix configuration
cp /etc/nixos/hardware-configuration.nix $HOME/.config/nixos
mv /etc/nixos /etc/nixos.bak
ln -s $HOME/.config/nixos /etc/nixos

Notes

Useful Resources

Useful Browser Extensions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 38.9%
  • Shell 31.4%
  • Nix 29.7%