diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 07:57:56 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 07:57:56 -0800 |
| commit | 9bed82f82e5fb7f1f39f9f9e92fb910cb4c8d837 (patch) | |
| tree | d5c6b7517244d2d51295018c74d98ee879c84bda /nix | |
| parent | install vault (this is needed for hashi) (diff) | |
| download | infra-9bed82f82e5fb7f1f39f9f9e92fb910cb4c8d837.tar.gz | |
consolidate homebrew configuration
uninstall iTerm2 and will replace it with wezterm
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/machines/darwin-shared.nix | 16 | ||||
| -rw-r--r-- | nix/users/fcuny/shell.nix | 1 |
2 files changed, 13 insertions, 4 deletions
diff --git a/nix/machines/darwin-shared.nix b/nix/machines/darwin-shared.nix index 79f1933..3eab1e8 100644 --- a/nix/machines/darwin-shared.nix +++ b/nix/machines/darwin-shared.nix @@ -64,16 +64,26 @@ "/opt/homebrew/sbin" ]; + environment.variables = { + HOMEBREW_NO_ANALYTICS = "1"; + HOMEBREW_NO_INSECURE_REDIRECT = "1"; + HOMEBREW_NO_EMOJI = "1"; + HOMEBREW_NO_AUTO_UPDATE = "1"; + }; + homebrew = { enable = true; - onActivation.autoUpdate = true; - onActivation.upgrade = true; + + onActivation = { + autoUpdate = true; + cleanup = "uninstall"; + upgrade = true; + }; casks = [ "1password-cli" "docker" "element" - "iterm2" "transmission" "vlc" "wireshark" diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index bcac8c6..c022206 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -93,7 +93,6 @@ in home.sessionVariables = { EDITOR = "code --wait"; - HOMEBREW_NO_AUTO_UPDATE = 1; LESS = "-FRSXM"; LESSCHARSET = "utf-8"; PAGER = "less"; |
