diff options
| -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"; |
