add asdf plugins and cleanup packages install script
This commit is contained in:
parent
93f407db15
commit
42c6685512
2 changed files with 22 additions and 4 deletions
|
@ -10,12 +10,15 @@ packages:
|
||||||
- starship
|
- starship
|
||||||
- zoxide
|
- zoxide
|
||||||
- https://proton.me/download/PassDesktop/linux/x64/ProtonPass.rpm
|
- https://proton.me/download/PassDesktop/linux/x64/ProtonPass.rpm
|
||||||
|
copr:
|
||||||
|
- atim/starship
|
||||||
flatpaks:
|
flatpaks:
|
||||||
- com.getpostman.Postman
|
- com.getpostman.Postman
|
||||||
- com.spotify.Client
|
- com.spotify.Client
|
||||||
- dev.vencord.Vesktop
|
- dev.vencord.Vesktop
|
||||||
copr:
|
asdf:
|
||||||
- atim/starship
|
- nodejs
|
||||||
|
- python
|
||||||
arch:
|
arch:
|
||||||
- afetch
|
- afetch
|
||||||
- alsa-firmware
|
- alsa-firmware
|
||||||
|
|
|
@ -1,12 +1,27 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
{{ if eq .flavor "desktop" }}
|
{{ if eq .flavor "desktop" }}
|
||||||
{{ if eq .chezmoi.osRelease.id "fedora" }}
|
{{ if eq .chezmoi.osRelease.id "fedora" }}
|
||||||
|
|
||||||
# add codium
|
# add codium
|
||||||
sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||||
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo
|
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo
|
||||||
|
|
||||||
sudo dnf copr enable atim/starship -y
|
# add asdf
|
||||||
sudo dnf install -y {{ .packages.linux.fedora | join " " -}}
|
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
|
||||||
|
|
||||||
|
# enable coprs
|
||||||
|
{{ range .packages.linux.copr -}}
|
||||||
|
sudo copr enable {{ . | quote }} -y
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
# install packages
|
||||||
|
sudo dnf install -y {{ .packages.linux.fedora | join " "}}
|
||||||
|
|
||||||
|
# install asdf plugins
|
||||||
|
{{ range .packages.linux.asdf -}}
|
||||||
|
asdf install {{ . | quote }} latest
|
||||||
|
asdf global {{ . | quote }} latest
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if eq.chezmoi.osRelease.id "arch" }}
|
{{ if eq.chezmoi.osRelease.id "arch" }}
|
||||||
|
|
Loading…
Reference in a new issue