-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdotular.yaml
More file actions
81 lines (70 loc) · 2.24 KB
/
dotular.yaml
File metadata and controls
81 lines (70 loc) · 2.24 KB
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
age:
identity: ~/.config/dotular/identity.txt
modules:
# --- local module -----------------------------------------------------------
- name: homebrew
hooks:
before_apply: echo "==> setting up Homebrew"
items:
- script: https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
via: remote
skip_if: command -v brew
verify: brew --version
# --- registry module --------------------------------------------------------
# - from: neovim
# with:
# neovim_version: "0.10.2"
# override:
# - directory: nvim
# direction: push
# destination: ~/.config/nvim
# --- local module with new item types ---------------------------------------
- name: Visual Studio Code
only_tags: [darwin, linux]
hooks:
before_apply: echo "==> installing VS Code"
after_apply: echo "==> VS Code ready"
items:
- package: visual-studio-code
via: brew-cask
verify: code --version
- package: Microsoft.VisualStudioCode
via: winget
- file: settings.json
direction: sync
permissions: "0600"
destination:
macos: ~/Library/Application Support/Code/User
windows: '%APPDATA%\\Code\\User'
hooks:
before_sync: echo "syncing VS Code settings"
- file: keybindings.json
direction: push
destination:
macos: ~/Library/Application Support/Code/User
windows: '%APPDATA%\\Code\\User'
- name: Neovim (manual)
items:
- binary: nvim
version: "0.10.2"
source:
macos: https://github.com/neovim/neovim/releases/download/v0.10.2/nvim-macos-arm64.tar.gz
linux: https://github.com/neovim/neovim/releases/download/v0.10.2/nvim-linux-x86_64.tar.gz
install_to: ~/.local/bin
skip_if: test -f ~/.local/bin/nvim
verify: nvim --version
- directory: nvim
direction: push
destination: ~/.config
- run: nvim --headless "+Lazy sync" +qa
after: directory
- name: WezTerm
items:
- package: wezterm
via: brew-cask
verify: wezterm --version
- file: .wezterm.lua
direction: push
destination:
macos: ~
linux: ~