From b77eee48931cd6fa188f2a57930f6852e75dfe2a Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 27 Jul 2024 15:19:46 +0200 Subject: [PATCH] feat(nix): remove homebrew packages that are not defined in Nix configuration --- nix/darwin/homebrew-common.nix | 5 ++--- nix/hosts/mac-mini/homebrew.nix | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nix/darwin/homebrew-common.nix b/nix/darwin/homebrew-common.nix index 323b6e8..8fa85f0 100644 --- a/nix/darwin/homebrew-common.nix +++ b/nix/darwin/homebrew-common.nix @@ -1,7 +1,6 @@ { enable = true; - # TODO: Activate after migration is complete - # onActivation.cleanup = "uninstall"; + onActivation.cleanup = "uninstall"; taps = [ "dustinblackman/tap" # Oatmeal "homebrew/bundle" # Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask, Mac App Store, Whalebrew and Visual Studio Code. @@ -12,6 +11,7 @@ "cava" # Console-based Audio Visualizer for ALSA "fileicon" # macOS CLI for managing custom icons for files and folders "fish" # TODO: Migrate to nix + "gettext" # INFO: Dependency of Neovim "luajit" # INFO: Dependency of Neovim "neovim" # TODO: Migrate to nix "oatmeal" # Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim! @@ -19,7 +19,6 @@ "starship" # TODO: Migrate to nix "tmux" # TODO: Migrate to nix "tree-sitter" # INFO: Dependency of Neovim - "gettext" # INFO: Dependency of Neovim "urlview" # URL extractor/launcher "yq" # Process YAML, JSON, XML, CSV and properties documents from the CLI. INFO: Needed for joshmedeski/tmux-nerd-font-window-name "zsh" # TODO: Migrate to nix diff --git a/nix/hosts/mac-mini/homebrew.nix b/nix/hosts/mac-mini/homebrew.nix index 733eaef..27ec715 100644 --- a/nix/hosts/mac-mini/homebrew.nix +++ b/nix/hosts/mac-mini/homebrew.nix @@ -1,6 +1,5 @@ { - # TODO: Activate after migration is complete - # onActivation.cleanup = "uninstall"; + onActivation.cleanup = "uninstall"; taps = [ ]; brews = [ ]; casks = [