switch hammerspoon to .config

This commit is contained in:
Noah Masur 2022-06-14 08:10:02 -04:00
parent 1381b9d063
commit 985d80eaa2

View File

@ -35,8 +35,12 @@
fonts.fonts = with pkgs; fonts.fonts = with pkgs;
[ (nerdfonts.override { fonts = [ "fira-mono" ]; }) ]; [ (nerdfonts.override { fonts = [ "fira-mono" ]; }) ];
home.file.hammerspoon = { source = ./hammerspoon; }; xdg.configFile.hammerspoon = { source = ./hammerspoon; };
}; };
system.activationScripts.hammerspoon.text = ''
defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"
'';
} }