less steps and almalinux support

This commit is contained in:
Anton Volnuhin 2024-05-22 00:59:19 +03:00
parent 6c113fb3bf
commit f2e7140426

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
#Config
STEPS=16
STEPS=15
PAD_LEN=4
BASE_PACKAGES="gnupg curl wget git direnv"
@ -100,7 +100,7 @@ new_line "Update caches and upgrade packages"
fi
brew update 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}}
sudo dnf update -y 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
@ -118,7 +118,7 @@ new_line "Install base packages"
{{ if eq .chezmoi.os "darwin" -}}
brew install -q $BASE_PACKAGES python pipx 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}}
sudo dnf install $BASE_PACKAGES kitty-terminfo util-linux-user python3-pipx -y 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
@ -177,7 +177,7 @@ new_line "Install neovim, fish, atuin, jump and the rest"
{{ if eq .chezmoi.os "darwin" -}}
brew install -q fish neovim $ACT_PACKAGES atuin jump fd sk dust lazygit 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}}
sudo dnf install neovim fish $ACT_PACKAGES fd-find skim pam_ssh_agent_auth -y 2>&1|pad
new_line "via NIX"
nix-env -iA nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad