Fix nix uses and removes interactions for apt
This commit is contained in:
parent
18276dc8c4
commit
6d37446928
@ -19,7 +19,7 @@ $Green##########################################################################
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt upgrade -y
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "arch" -}}
|
||||
sudo pacman -Syu --noconfirm
|
||||
@ -120,15 +120,15 @@ sleep 3
|
||||
|
||||
{{ if eq .chezmoi.osRelease.id "fedora" -}}
|
||||
sudo dnf install neovim fish $ACT_PACKAGES -y
|
||||
nix-env -iA nixpkgs.atuin nixpkgs.jump
|
||||
bash -c "nix-env -iA nixpkgs.atuin nixpkgs.jump"
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "arch" -}}
|
||||
sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES
|
||||
nix-env -iA nixpkgs.jump
|
||||
bash -c "nix-env -iA nixpkgs.jump"
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||
sudo apt install fish $ACT_PACKAGES -y
|
||||
nix-env -iA nixpkgs.neovim nixpkgs.jump
|
||||
bash -c "nix-env -iA nixpkgs.neovim nixpkgs.jump"
|
||||
if ! fish -c atuin &>/dev/null
|
||||
then
|
||||
bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)
|
||||
|
Loading…
Reference in New Issue
Block a user