add linux packages
This commit is contained in:
parent
df18cdad71
commit
992d1f0bbb
@ -2,11 +2,13 @@
|
|||||||
brews = [
|
brews = [
|
||||||
'chezmoi',
|
'chezmoi',
|
||||||
'git',
|
'git',
|
||||||
|
'zsh',
|
||||||
'vim',
|
'vim',
|
||||||
'lsix',
|
'lsix',
|
||||||
'eza',
|
'eza',
|
||||||
'grc',
|
'grc',
|
||||||
'zellij',
|
'zellij',
|
||||||
|
'ranger',
|
||||||
'cmake',
|
'cmake',
|
||||||
'python',
|
'python',
|
||||||
'go',
|
'go',
|
||||||
@ -19,3 +21,27 @@ casks = [
|
|||||||
'alacritty',
|
'alacritty',
|
||||||
'macvim',
|
'macvim',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[packages.linux.manjaro]
|
||||||
|
pacman = [
|
||||||
|
'chezmoi',
|
||||||
|
'yay',
|
||||||
|
'base-devel',
|
||||||
|
'fakeroot',
|
||||||
|
'gcc',
|
||||||
|
'cmake',
|
||||||
|
'lsix',
|
||||||
|
'eza',
|
||||||
|
'grc',
|
||||||
|
'zellij',
|
||||||
|
'ranger',
|
||||||
|
'gvim',
|
||||||
|
'python',
|
||||||
|
'go',
|
||||||
|
'nodejs',
|
||||||
|
'jdk-openjdk',
|
||||||
|
]
|
||||||
|
|
||||||
|
aur = [
|
||||||
|
'alacritty-sixel-git',
|
||||||
|
]
|
@ -1,5 +1,5 @@
|
|||||||
{{ if eq .chezmoi.os "darwin" -}}
|
{{ if eq .chezmoi.os "darwin" -}}
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# Install Homebrew
|
# Install Homebrew
|
||||||
command -v brew >/dev/null 2>&1 || \
|
command -v brew >/dev/null 2>&1 || \
|
19
.chezmoiscripts/run_onchange_linux-install-packages.sh.tmpl
Normal file
19
.chezmoiscripts/run_onchange_linux-install-packages.sh.tmpl
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{{ if eq .chezmoi.os "linux" -}}
|
||||||
|
|
||||||
|
|
||||||
|
{{ if eq .chezmoi.osRelease.id "manjaro" -}}
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
|
{{ range .packages.linux.manjaro.pacman -}}
|
||||||
|
sudo pacman -S --needed --noconfirm {{ . | quote }}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ range .packages.linux.manjaro.aur -}}
|
||||||
|
yay -S --needed --noconfirm {{ . | quote }}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
|
||||||
|
{{ end -}}
|
Loading…
x
Reference in New Issue
Block a user