dotfiles/install

60 lines
897 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
2015-08-27 15:01:41 +02:00
mkdir -p ~/.nixpkgs/
cp config.nix ~/.nixpkgs/
2015-08-25 00:05:28 +02:00
# 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-26 00:56:33 +02:00
cp lemonbar.sh ~/.config/bspwm/
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-26 02:19:47 +02:00
# MPD
2015-08-27 21:12:34 +02:00
mkdir -p ~/.config/mpd
2015-08-26 02:19:47 +02:00
mkdir -p ~/Music/
2015-08-27 21:12:34 +02:00
# beets
mkdir -p ~/.config/beets
cp beets_config.yaml ~/.config/beets/config.yaml
2015-09-14 00:58:07 +02:00
# Zathura
mkdir -p ~/.config/zathura
cp zathurarc ~/.config/zathura/zathurarc
2015-08-27 21:12:34 +02:00
# ncmpcpp
mkdir -p ~/.config/ncmpcpp
cp ncmpcpp_config ~/.config/ncmpcpp/config
2015-08-26 02:19:47 +02:00
2015-08-25 11:42:45 +02:00
echo "Run install-prezto with ZSH to install prezto"