❄️ Nix (nix-darwin) installation with custom config directory #3730
minusfive
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just dipping my toes into this whole Nix rabbit hole, so bare with me...
Per #1734 the only way to move the location of your config file/directory is by populating the
MJConfigFile
key in the hammerspoon plist (defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"
).So here's my
flake.nix
(with irrelevant pieces removed) to install Homebrew, Hammerspoon, and configure the custom config directory:Tested and works like a charm. Back into the rabbit hole 🐇.
Beta Was this translation helpful? Give feedback.
All reactions