-
Notifications
You must be signed in to change notification settings - Fork 12
/
install.conf.yaml
78 lines (78 loc) · 3.03 KB
/
install.conf.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
- defaults:
link:
create: true
relink: true
force: true
shell:
quiet: true
- shell:
- description: Validating sudo credentials
command: "sudo --validate"
- clean: ['~']
- link:
~/.gitconfig: git/gitconfig
~/.gitignore_global: git/gitignore_global
~/.zshrc: zsh/zshrc
~/.config/nvim: nvim
~/.config/starship.toml: zsh/starship.toml
~/.config/ghostty/config: ghostty/config
~/.tmux.conf: tmux/tmux.conf
~/.config/sesh/sesh.toml: tmux/sesh.toml
~/.hammerspoon: hammerspoon
~/.composer/composer.json: composer/composer.json
~/.qmk_firmware/keyboards/lily58/keymaps/jesseleite: qmk/lily58
- create:
- ~/Code
- shell:
- description: Hushing login
command: "[ -f ~/.hushlogin ] || touch ~/.hushlogin"
- description: Clearing password policies
command: "sudo pwpolicy -clearaccountpolicies"
- description: Telling gatekeeper to allow unidentified developers
command: "sudo spctl --master-disable"
- description: Copying applescript services
command: "cp -R applescript/services/* ~/Library/Services"
- description: Installing brew
command: "[ -x \"$(which brew)\" ] || /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
- description: Updating brew
command: "brew update"
- description: Installing brew bundler
command: "brew tap homebrew/bundle"
- description: Installing brewfile bundle
command: "brew bundle"
stdout: true
stderr: true
- description: Linking mysql 5.7
command: "brew link --force mysql@5.7"
- description: Starting mysql service whenever mac boots
command: "brew services start mysql@5.7"
- description: Removing old brew files
command: "brew cleanup"
- description: Starting goku service whenever mac boots
command: "brew services start goku"
- description: Adding zsh to list of acceptable shells
command: "[[ \"$(ag $(which zsh) /etc/shells)\" ]] || sudo sh -c \"echo $(which zsh) >> /etc/shells\""
- description: Making zsh the default shell
command: "chsh -s $(which zsh)"
- description: Compiling antidote bundles
command: "sh zsh/bundles_compile"
- description: Installing python bundle
command: "pip3 install -r pipfile"
stdout: true
stderr: true
- description: Installing global npm bundle
command: "sh npm/global_install"
stdout: true
stderr: true
- description: Installing vim-plug
command: "[ -f ~/.vim/autoload/plug.vim ] || curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
- description: Installing vim plugins
command: "vim +PlugInstall +qa"
- description: Stub out global composer config.json
command: "[ -f ~/.composer/config.json ] || cp composer/config.json ~/.composer/config.json"
- description: Installing/updating global composer dependencies
command: "sh composer/global_update"
# - description: Install herd
# command: ""
- description: Clearing sudo credential cache
command: "sudo --reset-timestamp"