_dump/upd.sh

18 lines
322 B
Bash
Raw Normal View History

2023-10-11 21:29:03 +02:00
#!/bin/sh
2023-10-11 21:29:03 +02:00
# nix
sudo nix-channel --update
sudo nixos-rebuild switch -I nixos-config=/Cfg/conf.nix
sudo nixos-rebuild boot -I nixos-config=/Cfg/conf.nix
sudo nix-collect-garbage --delete-older-than 14d
# oh-my-zsh
cd ~/.oh-my-zsh/ \
&& ./tools/upgrade.sh \
&& cd -
# rust & co
rustup update
cargo install-update -a