-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (26 loc) · 909 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
EMAIL ?= "[email protected]"
create-key:
ssh-keygen -t ed25519 -C $(EMAIL)
setup-vim:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
mkdir -p ~/.vim/swap ~/.vim/undo ~/.vim/backup
mv .vimrc ~/.vimrc
setup-fish:
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
cp .config/fish/config ~/.config/fish/config
cp .config/fish/functions/* ~/.config/fish/functions/
setup-git:
cp .gitconfig ~/.gitconfig
setup-tmux:
cp .tmux.conf ~/.tmux.conf
setup-ssh:
cp .ssh/config ~/.ssh/config
nixos-upgrade:
nixos-rebuild switch --upgrade
setup-home-manager:
nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
mkdir -p ~/.config/nixpkgs
cp nixos/machines/home_m1.nix ~/.config/nixpkgs/home.nix
home-manager switch