universeair: Brew fix

This commit is contained in:
2024-01-29 12:02:27 -05:00
parent b38f3c4bd5
commit 59bb94dd8e

View File

@@ -24,6 +24,11 @@ in
programs.bash.enable = true;
programs.zsh = {
enable = true;
initExtra = ''
if [[ $(uname -m) == 'arm64' ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
'';
shellAliases = {
ssh = "kitty +kitten ssh";
sshu = "ssh universe";
@@ -66,6 +71,9 @@ in
# It is not installed by nix, for now, so manually install:
# https://brew.sh/
enable = true;
onActivation = {
cleanup = "uninstall";
};
# Graphical apps to install through homebrew instead of nixpkgs
casks = [
"firefox"