#!/bin/sh

if command -v brew &> /dev/null; then
  brew update
  brew upgrade
  brew upgrade --cask
fi

if command -v nix &> /dev/null; then
  nix-channel --update
  nix-env -u
  home-manager switch
fi

# if command -v doom &> /dev/null; then
#   doom sync
#   doom -y upgrade
#   doom env
# fi