-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf.yaml
83 lines (83 loc) · 2.92 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
79
80
81
82
83
- defaults:
link:
create: true
relink: true
- clean: ["~", ~/.config]
- create: [~/Downloads]
- link:
~/.dotfiles: ""
~/.shell:
~/.bash_profile:
~/.bashrc_user: bashrc
~/.zprofile:
~/.zshrc_user: zshrc
~/.config/starship.toml: starship.toml
~/.gitconfig:
~/.gitconfig_work:
~/.gitignore_global:
~/.gitmessage:
~/.config/gh-dash/config.yml: gh_dash.yml
~/Taskfile.yml:
~/.tmux.conf:
~/.config/sesh/sesh.toml: sesh.toml
~/.config/yabai/yabairc:
path: yabairc
if: '[ "$(uname -s)" = "Darwin" ]'
~/.config/skhd/skhdrc:
path: skhdrc
if: '[ "$(uname -s)" = "Darwin" ]'
~/.wezterm.lua: wezterm.lua
pkgx.yaml:
# TODO: https://github.com/pkgxdev/pkgx/issues/890
path: templates/pkgx.yaml
~/Library/Application Support/lazygit/config.yml:
path: lazygit_config.yml
force: true
if: '[ "$(uname -s)" = "Darwin" ]'
~/.config/lazygit/config.yml:
path: lazygit_config.yml
force: true
if: '[ "$(uname -s)" = "Linux" ]'
~/.config/fredrik/init.lua:
path: nvim-fredrik/init.lua
force: true
~/.config/fredrik/lua:
path: nvim-fredrik/lua
force: true
~/.config/fredrik/lazy-lock.json:
force: true
path: nvim-fredrik/lazy-lock.json
~/Library/Application Support/Code/User/settings.json:
path: vscode_settings.jsonc
force: true
if: '[ "$(uname -s)" = "Darwin" ]'
~/Library/KeyBindings/DefaultKeyBinding.dict:
# Remap US English layout's ['; keys to Swedish åäö keys
path: _macos/DefaultKeyBinding.dict
force: true
if: '[ "$(uname -s)" = "Darwin" ]'
# ~/.config/karabiner:
# # Remap US English layout's ['; keys to Swedish åäö keys using Karabiner
# # This is a heavy solution to fix this problem, so commented out for now
# path: _macos/karabiner
# create: true
# if: '[ "$(uname -s)" = "Darwin" ]'
/mnt/c/Users/fredr/.wslconfig:
path: _windows/wslconfig
force: true
# if /mnt/c/Users/fredr exists
if: "[ -d /mnt/c/Users/fredr ]"
- shell:
- description: sync dotbot
command: git submodule sync --recursive
- description: add shell sourcing to bash, if not already added
command: grep -qxF '[[ -s ~/.bashrc_user ]] && source ~/.bashrc_user' ~/.bashrc || echo '[[ -s ~/.bashrc_user ]] && source ~/.bashrc_user' >> ~/.bashrc
- description: add shell sourcing to zsh, if not already added
command: grep -qxF '[[ -s ~/.zshrc_user ]] && source ~/.zshrc_user' ~/.zshrc || echo '[[ -s ~/.zshrc_user ]] && source ~/.zshrc_user' >> ~/.zshrc
- description: ssh setup
command: |
mkdir -p ~/.ssh && chmod 700 ~/.ssh
touch ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
touch ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
- description: pre-commit hook
command: cp pre-commit .git/hooks/pre-commit