dotfiles/manifest.json

151 lines
2.9 KiB
JSON

{
"template": {
"bin": {
"link": {
"from": "shared/bin",
"to": "~/bin"
}
},
"htop": {
"link": {
"from": "shared/htop",
"to": "~/.config/htop"
}
},
"git": {
"link": {
"from": "shared/git",
"to": "~/.gitconfig"
}
},
"zsh": {
"link": {
"from": "shared/zsh",
"to": "~/.zshrc"
}
},
"tmux": {
"link": {
"from": "shared/tmux",
"to": "~/.tmux.conf"
}
},
"nvim": {
"link": {
"from": "shared/nvim",
"to": "~/.config/nvim"
}
}
},
"environments": {
"macos": [
"git",
"zsh",
"tmux",
"nvim",
"bin",
{
"package": "bin",
"link": {
"from": "macos/bin",
"to": "~/.local/bin"
}
},
{
"package": "linearmouse",
"link": {
"from": "macos/linearmouse",
"to": "~/.config/linearmouse"
}
},
{
"package": "rectangle",
"link-comment": "Needs manual import from config/macos/linearmouse"
},
{
"package": "wezterm",
"link": {
"from": "macos/wezterm",
"to": "~/.config/wezterm"
}
},
{
"package": "alacritty",
"link": {
"from": "macos/alacritty",
"to": "~/.config/alacritty"
}
},
{
"package": "ghostty",
"link": {
"from": "macos/ghostty",
"to": "~/.config/ghostty"
}
}
],
"linux-vm": [
"bin",
{
"package": "bin",
"link": {
"from": "linux-vm/bin",
"to": "~/.local/bin"
}
},
{
"package": "htop",
"install": "sudo apt install -y htop"
},
{
"package": "git",
"install": "sudo apt install -y git"
},
{
"package": "zsh",
"install": "sudo apt install -y zsh",
"post-link": "./scripts/linux-setup_zsh.sh"
},
{
"package": "tmux",
"install": "sudo apt install -y tmux"
},
{
"package": "nvim",
"post-install": "echo 'Neovim needs setup'"
}
],
"container": [
"bin",
{
"package": "bin",
"link": {
"from": "container/bin",
"to": "~/.local/bin"
}
},
{
"package": "htop",
"install": "sudo apt install -y htop"
},
{
"package": "git",
"install": "sudo apt install -y git"
},
{
"package": "zsh",
"install": "sudo apt install -y zsh",
"post-link": "./scripts/linux-setup_zsh.sh"
},
{
"package": "tmux",
"install": "sudo apt install -y tmux"
},
{
"package": "nvim",
"post-install": "echo 'Neovim needs setup'"
}
]
}
}