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