From e3a7211697aead851c551f887c85aead709f6e4a Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 25 Jul 2024 23:04:47 +0200 Subject: [PATCH] add zed --- .chezmoidata/packages.yaml | 4 ++-- run_onchange_10_install_packages.sh.tmpl | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.chezmoidata/packages.yaml b/.chezmoidata/packages.yaml index 3370f35..ff21eb9 100644 --- a/.chezmoidata/packages.yaml +++ b/.chezmoidata/packages.yaml @@ -8,9 +8,10 @@ packages: - keychain - neovim - starship + - zed - zoxide - https://proton.me/download/PassDesktop/linux/x64/ProtonPass.rpm - copr: + copr: - atim/starship flatpaks: - com.getpostman.Postman @@ -116,4 +117,3 @@ packages: - zip - zsh - zsh-antidote - diff --git a/run_onchange_10_install_packages.sh.tmpl b/run_onchange_10_install_packages.sh.tmpl index c048f49..b864e81 100644 --- a/run_onchange_10_install_packages.sh.tmpl +++ b/run_onchange_10_install_packages.sh.tmpl @@ -1,17 +1,19 @@ #!/bin/bash {{ if eq .flavor "desktop" }} {{ if eq .chezmoi.osRelease.id "fedora" }} +# add terra repository +sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release -y # add codium 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 -# add asdf +# add asdf git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0 -# enable coprs +# enable coprs {{ range .packages.linux.copr -}} -sudo dnf copr -y enable {{ . | quote }} +sudo dnf copr -y enable {{ . | quote }} {{ end }} # install packages @@ -28,4 +30,3 @@ asdf global {{ . }} latest sudo pacman -Syu {{ .packages.linux.arch | join " " -}} {{ end }} {{ end }} -