update Homebrew configuration: change cleanup strategy to 'zap', add azure-cli, and fix logi-options package name; add zsh configuration in shell.nix

This commit is contained in:
2025-08-27 22:36:50 -04:00
parent f292f26361
commit 7b056f83ab
6 changed files with 51 additions and 43 deletions

View File

@@ -2,13 +2,13 @@
{
imports = [
./terminal/default.nix
./shell.nix
];
home = {
packages = with pkgs; [
_1password-cli
awscli2
azure-cli
brave
discord
go

View File

@@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:
{
# Configure zsh through programs.zsh instead of home.file
programs.zsh = {
enable = true;
initContent = ''
eval "$(starship init zsh)"
export PATH="''${KREW_ROOT:-/Users/${config.home.username}/.krew}/bin:$PATH"
'';
};
}

View File

@@ -59,12 +59,6 @@
[[ssh-keys]]
vault = "Employee"
'';
# Configure zsh
".zshrc".text = ''
eval "$(starship init zsh)"
export PATH="''${KREW_ROOT:-/Users/${config.home.username}/.krew}/bin:$PATH"
'';
# Configure ghostty
".config/ghostty/config".text = ''