aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/.flake/home/programs/zsh.nix.org8
-rw-r--r--macos.local/.flake/home/core.nix.org3
2 files changed, 10 insertions, 1 deletions
diff --git a/common/.flake/home/programs/zsh.nix.org b/common/.flake/home/programs/zsh.nix.org
index 6b8d5ea..3d5115f 100644
--- a/common/.flake/home/programs/zsh.nix.org
+++ b/common/.flake/home/programs/zsh.nix.org
@@ -54,6 +54,14 @@ Load extra code.
initExtra = ''
#+end_src
+Configure Homebrew =llvm=.
+#+begin_src sh
+ export CC='/opt/homebrew/opt/llvm/bin/clang'
+ export CXX="$CC++"
+ export LDFLAGS="$LDFLAGS -L/opt/homebrew/opt/llvm/lib"
+ export CPPFLAGS="$CPPFLAGS -I/opt/homebrew/opt/llvm/include"
+#+end_src
+
Create potential aliases and create the prompt.
#+begin_src sh
which lesspipe.sh &> /dev/null && export LESSOPEN="|lesspipe.sh %s"
diff --git a/macos.local/.flake/home/core.nix.org b/macos.local/.flake/home/core.nix.org
index 4f0c7a9..7e997ef 100644
--- a/macos.local/.flake/home/core.nix.org
+++ b/macos.local/.flake/home/core.nix.org
@@ -30,9 +30,10 @@ Import a wallpaper to the path =~/.wallpaper=.
Add Homebrew to the path along with standard =bin= directories.
#+begin_src nix
home.sessionPath = [
- "/opt/homebrew/bin"
"$HOME/.local/bin"
"/usr/local/bin"
+ "/opt/homebrew/bin"
+ "/opt/homebrew/opt/llvm/bin"
];
}
#+end_src