Skip to content

Commit

Permalink
Split Linux install files into Debian and Arch
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <marcus@utf9k.net>
  • Loading branch information
marcus-crane committed Oct 28, 2024
1 parent 491f6d6 commit 460d1f7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions run_once_01_packages-linux-arch.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{{- if (eq .chezmoi.os "linux") -}}
{{- if eq .chezmoi.osRelease.idLike "arch" -}}
#!/usr/bin/env bash

set -eufo pipefail

{{ $packages := list
"bash"
"ca-certificates"
"curl"
"ffmpeg"
"fzf"
"gcc"
"git"
"gnupg"
"grep"
"gtk3"
"gzip"
"iproute2"
"neofetch"
"openssl"
"readline"
"tcpdump"
"vlc"
"zlib"
"zsh"
}}

sudo pacman -Syu

sudo pacman -Su {{ $packages | uniq }}

echo "[ ~ ] linux packages have been installed"

{{ end -}}
{{ end -}}
File renamed without changes.

0 comments on commit 460d1f7

Please sign in to comment.