download backup_system.sh
chmod +x backup_system.sh
mv backup_system.sh $HOME OR add it to whatever PATH location you like
Options:
-a, --apt Backup apt packages
-b, --brew Backup homebrew packages
-f, --flatpak Backup flatpak packages
-s, --snap Backup snap packages
-g, --gnome Backup GNOME configuration
-t, --terminal Backup terminal configuration
-n, --nvim Backup nvim configuration
-c, --config Backup .config folder
-A, --all Backup all packages and configurations
-r, --restore Restore system based on the .cfg file
-h, --help Display this help message