chore(scripts): better update nix

main
sudo pacman -Syu 2023-10-11 11:42:16 +07:00
parent 4894bf96c9
commit 53248b3a4e
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
nix-channel --update
sudo -i sh -c 'nix-channel --update'
sudo -i sh -c 'nix-env -uA nixpkgs.nix'
sudo -i sh -c 'nix-collect-garbage -d'
nix-env -uA \
nixpkgs.less nixpkgs.libgit2 nixpkgs.git nixpkgs.neovim \