dotfiles/install
2015-09-14 00:58:07 +02:00

60 lines
897 B
Bash
Executable File

#!/bin/sh
echo "Installing dotfiles"
# NixOS Configuration
sudo cp configuration.nix /etc/nixos/
echo "Activating NixOS configuration"
sudo nixos-rebuild switch
mkdir -p ~/.nixpkgs/
cp config.nix ~/.nixpkgs/
# Custom Binaries
mkdir -p ~/bin/
cp bin/* ~/bin/
# Xorg / Window Manager
mkdir -p ~/.config/bspwm
mkdir -p ~/.config/sxhkd
cp bspwmrc ~/.config/bspwm/
cp sxhkdrc ~/.config/sxhkd/
cp lemonbar.sh ~/.config/bspwm/
cp ./.Xresources ~/
# Vim
mkdir -p ~/.config/vim/backup
cp .vimrc ~/
# Tmux
cp .tmux.conf ~/
# Git
cp .gitconfig ~/
# MPD
mkdir -p ~/.config/mpd
mkdir -p ~/Music/
# beets
mkdir -p ~/.config/beets
cp beets_config.yaml ~/.config/beets/config.yaml
# Zathura
mkdir -p ~/.config/zathura
cp zathurarc ~/.config/zathura/zathurarc
# ncmpcpp
mkdir -p ~/.config/ncmpcpp
cp ncmpcpp_config ~/.config/ncmpcpp/config
echo "Run install-prezto with ZSH to install prezto"