dotfiles/install

37 lines
523 B
Plaintext
Raw Normal View History

2015-08-25 00:05:28 +02:00
#!/bin/sh
echo "Installing dotfiles"
# NixOS Configuration
sudo cp configuration.nix /etc/nixos/
echo "Activating NixOS configuration"
sudo nixos-rebuild switch
# Custom Binaries
2015-08-25 00:55:56 +02:00
mkdir -p ~/bin/
cp bin/* ~/bin/
2015-08-25 00:05:28 +02:00
2015-08-25 00:55:56 +02:00
# Xorg / Window Manager
2015-08-25 00:05:28 +02:00
mkdir -p ~/.config/bspwm
mkdir -p ~/.config/sxhkd
cp bspwmrc ~/.config/bspwm/
cp sxhkdrc ~/.config/sxhkd/
2015-08-25 00:55:56 +02:00
cp ./.Xresources ~/
2015-08-25 00:05:28 +02:00
# Vim
mkdir -p ~/.config/vim/backup
cp .vimrc ~/
2015-08-25 16:15:14 +02:00
# Tmux
cp .tmux.conf ~/
2015-08-25 00:05:28 +02:00
# Git
2015-08-25 16:15:14 +02:00
2015-08-25 00:05:28 +02:00
cp .gitconfig ~/
2015-08-25 11:42:45 +02:00
echo "Run install-prezto with ZSH to install prezto"