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