fix: don't use ~ in activation script

This commit is contained in:
Noah Masur 2024-11-11 14:00:41 -07:00
parent 67727954ec
commit 1022a3998f
No known key found for this signature in database

View File

@ -36,7 +36,7 @@
homebrew.casks = [ "hammerspoon" ]; homebrew.casks = [ "hammerspoon" ];
system.activationScripts.postUserActivation.text = '' 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 sudo killall Dock
''; '';
}; };