65 lines
1.1 KiB
Bash
Executable File
65 lines
1.1 KiB
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 ~/
|
|
|
|
# NeoVim
|
|
|
|
mkdir -p ~/.config/neovim/backup
|
|
cp .nvimrc ~/
|
|
|
|
if [ ! -d "~/.config/neovim/bundle" ]; then
|
|
echo "Installing Vundle for NeoVim"
|
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/neovim/bundle/Vundle.vim
|
|
fi
|
|
|
|
# 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"
|