Other than installing programs, most of this stuff can be automated by writing a shell script. For example:
```
# Remove the auto-hiding Dock delay
defaults write com.apple.Dock autohide-delay -float 0
# Remove the animation when hiding/showing the Dock
defaults write com.apple.dock autohide-time-modifier -float 0
# Automatically hide and show the Dock
defaults write com.apple.dock autohide -bool true
```
More here: https://github.com/mathiasbynens/dotfiles/blob/main/.macos It's kind of old but most of them should still work.