diff --git a/modules/darwin/hammerspoon.nix b/modules/darwin/hammerspoon.nix index e5b6223..59a33c4 100644 --- a/modules/darwin/hammerspoon.nix +++ b/modules/darwin/hammerspoon.nix @@ -36,7 +36,7 @@ homebrew.casks = [ "hammerspoon" ]; system.activationScripts.postUserActivation.text = '' - defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua" + defaults write org.hammerspoon.Hammerspoon MJConfigFile "${config.homePath}/.config/hammerspoon/init.lua" sudo killall Dock ''; };