diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index 923f5bc5..e5c9ee3d 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -1020,7 +1020,6 @@ softwareGroups: - localtunnel - majestic - medusa - - miniflare - mitmproxy - muffet - nativescript diff --git a/home/.chezmoiscripts/universal/run_before_01-system-homebrew.sh.tmpl b/home/.chezmoiscripts/universal/run_before_01-system-homebrew.sh.tmpl index 9e63c3d4..e7453f25 100644 --- a/home/.chezmoiscripts/universal/run_before_01-system-homebrew.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_before_01-system-homebrew.sh.tmpl @@ -58,4 +58,10 @@ ensurePackageManagerHomebrew() { fi } ensurePackageManagerHomebrew + +# @description Enable auto-update service +if brew autoupdate status | grep 'Autoupdate is not configured.' > /dev/null; then + logg info 'Enabling Homebrew auto-update service (every 24 hours)' + brew autoupdate start --cleanup --upgrade +fi {{ end -}} diff --git a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.sh.tmpl index 642e5195..849f8c54 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.sh.tmpl @@ -21,6 +21,7 @@ if command -v install-program > /dev/null; then sudo echo "Sudo access granted." export DEBIAN_FRONTEND=noninteractive export HOMEBREW_NO_ENV_HINTS=true + export HOMEBREW_NO_ANALYTICS=1 if ! command -v gcc-11; then if command -v gcc; then log info 'gcc-11 command missing. Symlinking to gcc' diff --git a/home/.chezmoitemplates/universal/profile-inline b/home/.chezmoitemplates/universal/profile-inline index 8ec2151f..43447e69 100644 --- a/home/.chezmoitemplates/universal/profile-inline +++ b/home/.chezmoitemplates/universal/profile-inline @@ -26,6 +26,7 @@ elif [ -f "/usr/local/bin/brew" ]; then elif [ -f "/opt/homebrew/bin/brew" ]; then eval "$(/opt/homebrew/bin/brew shellenv)" fi +export HOMEBREW_NO_ANALYTICS=1 ### SDKMan export SDKMAN_DIR="$XDG_DATA_HOME/sdkman" diff --git a/home/dot_config/shell/exports.sh.tmpl b/home/dot_config/shell/exports.sh.tmpl index 6eadecc2..af45c44a 100644 --- a/home/dot_config/shell/exports.sh.tmpl +++ b/home/dot_config/shell/exports.sh.tmpl @@ -52,6 +52,7 @@ export SSH_KEY_PATH="$HOME/.ssh/id_rsa" ### Homebrew export HOMEBREW_NO_ENV_HINTS=true +export HOMEBREW_NO_ANALYTICS=1 if [ -d /home/linuxbrew/.linuxbrew/bin ]; then export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew" export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar" diff --git a/software.yml b/software.yml index 6a282a4e..f524cf91 100644 --- a/software.yml +++ b/software.yml @@ -1433,11 +1433,6 @@ softwarePackages: _name: CFSSL brew: cfssl pacman: cfssl - miniflare: - _bin: miniflare - _github: https://github.com/cloudflare/miniflare - _name: Miniflare - npm: miniflare cf-terraforming: _bin: cf-terraforming _github: https://github.com/cloudflare/cf-terraforming diff --git a/start.sh b/start.sh index 5204f6b6..8e500890 100644 --- a/start.sh +++ b/start.sh @@ -17,6 +17,7 @@ set -eo pipefail DELAYED_CI_SYNC="" ENSURED_TASKFILES="" export HOMEBREW_NO_INSTALL_CLEANUP=true +export HOMEBREW_NO_ANALYTICS=1 # @description Ensure permissions in CI environments if [ -n "$CI" ]; then