37 lines
523 B
Bash
Executable File
37 lines
523 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
|
|
|
|
# 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 ./.Xresources ~/
|
|
|
|
# Vim
|
|
|
|
mkdir -p ~/.config/vim/backup
|
|
cp .vimrc ~/
|
|
|
|
# Tmux
|
|
|
|
cp .tmux.conf ~/
|
|
|
|
# Git
|
|
|
|
cp .gitconfig ~/
|
|
|
|
echo "Run install-prezto with ZSH to install prezto"
|