50 lines
727 B
Bash
Executable File
50 lines
727 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/
|
|
|
|
# ncmpcpp
|
|
|
|
mkdir -p ~/.config/ncmpcpp
|
|
cp ncmpcpp_config ~/.config/ncmpcpp/
|
|
|
|
echo "Run install-prezto with ZSH to install prezto"
|