ppa instead of nix for some packages

This commit is contained in:
Anton Volnuhin 2024-05-17 23:30:52 +03:00
parent 06a1039a89
commit d41c1fde91

View File

@ -84,7 +84,7 @@ echo -e "
$Green################################################################################ $Green################################################################################
## ## ## ##
## Subscribe to Fish shell repositories in ubuntu/debian ## ## Subscribe to PPA for fish, lazygit, neovim in ubuntu/debian ##
## ## ## ##
################################################################################$NC" ################################################################################$NC"
@ -98,6 +98,12 @@ $Green##########################################################################
{{ else -}} {{ else -}}
## Setup fish repo in ubuntu ## Setup fish repo in ubuntu
sudo apt-add-repository ppa:fish-shell/release-3 -y sudo apt-add-repository ppa:fish-shell/release-3 -y
## Lazygit ppa
sudo add-apt-repository ppa:lazygit-team/release
## Neovim ppa
sudo add-apt-repository ppa:neovim-ppa/unstable
{{ end -}} {{ end -}}
sudo apt-get update sudo apt-get update
{{ end -}} {{ end -}}
@ -127,8 +133,8 @@ sleep 3
nix-env -iA nixpkgs.jump nixpkgs.du-dust nix-env -iA nixpkgs.jump nixpkgs.du-dust
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
sudo apt install fish $ACT_PACKAGES libpam-ssh-agent-auth -y sudo apt install fish lazygit neovim $ACT_PACKAGES libpam-ssh-agent-auth -y
nix-env -iA nixpkgs.neovim nixpkgs.jump nixpkgs.skim nixpkgs.du-dust nixpkgs.lazygit nix-env -iA nixpkgs.jump nixpkgs.skim nixpkgs.du-dust
if ! fish -c atuin &>/dev/null if ! fish -c atuin &>/dev/null
then then
bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh) bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)