mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +00:00
16 lines
371 B
Nix
16 lines
371 B
Nix
|
{ config, ... }: {
|
||
|
|
||
|
# Hammerspoon - MacOS custom automation scripting
|
||
|
|
||
|
home-manager.users.${config.user} = {
|
||
|
xdg.configFile.hammerspoon = { source = ./hammerspoon; };
|
||
|
};
|
||
|
|
||
|
homebrew.casks = [ "hammerspoon" ];
|
||
|
|
||
|
system.activationScripts.hammerspoon.text = ''
|
||
|
defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"
|
||
|
'';
|
||
|
|
||
|
}
|