diff --git a/flake.lock b/flake.lock index 5e87a86..1f5caa6 100644 --- a/flake.lock +++ b/flake.lock @@ -520,7 +520,8 @@ "nixpkgs": "nixpkgs", "noctalia": "noctalia", "noctalia-qs": "noctalia-qs", - "readlater-bot": "readlater-bot" + "readlater-bot": "readlater-bot", + "steipete-tap": "steipete-tap" } }, "rust-analyzer-src": { @@ -540,6 +541,22 @@ "type": "github" } }, + "steipete-tap": { + "flake": false, + "locked": { + "lastModified": 1778750339, + "narHash": "sha256-ZF63K/JuNKo8vWOIhXvsxbisUSVaUIeYqJLGI7uA9g4=", + "owner": "steipete", + "repo": "homebrew-tap", + "rev": "ccc12256eff15e1da74e6701db136e5c81036715", + "type": "github" + }, + "original": { + "owner": "steipete", + "repo": "homebrew-tap", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/flake.nix b/flake.nix index 7b4869c..dacc6ad 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,10 @@ url = "github:homebrew/homebrew-cask"; flake = false; }; + steipete-tap = { + url = "github:steipete/homebrew-tap"; + flake = false; + }; agenix = { url = "github:ryantm/agenix"; diff --git a/modules/common/neovim.nix b/modules/common/neovim.nix index 82c3716..9429af8 100644 --- a/modules/common/neovim.nix +++ b/modules/common/neovim.nix @@ -71,6 +71,7 @@ in home.sessionPath = [ "node_modules/.bin" "/opt/homebrew/bin" + "/opt/homebrew/opt" "$HOME/.npm-packages/bin" "$PNPM_HOME" ]; diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix index 6961e3f..252a08f 100644 --- a/modules/darwin/homebrew.nix +++ b/modules/darwin/homebrew.nix @@ -1,6 +1,7 @@ { homebrew-core, homebrew-cask, + steipete-tap, config, ... }: @@ -16,7 +17,8 @@ taps."homebrew/homebrew-core" = homebrew-core; taps."homebrew/homebrew-cask" = homebrew-cask; + taps."steipete/tap" = steipete-tap; - mutableTaps = false; + mutableTaps = true; }; } diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index eead1b4..58bc1ca 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -11,6 +11,7 @@ let openHelium = "open -na Helium.app"; openHeliumNotifications = "open -na Helium.app --args https://x.com/i/notifications"; openHeliumT3Chat = "open -na Helium.app --args https://t3.chat/"; + openHeliumExaSearch = "open -na Helium.app --args https://exa.ai/search"; numbers = [ "1" @@ -102,7 +103,6 @@ let ]; to_if_alone = [ { - hold_down_milliseconds = 500; key_code = "escape"; } ]; @@ -186,6 +186,25 @@ let } ]; } + { + description = "Hyper+E opens Exa Search"; + manipulators = [ + { + from = { + key_code = "e"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = openHeliumExaSearch; + } + ]; + type = "basic"; + } + ]; + } { description = "Toggle Focus Mode with F6"; manipulators = [ @@ -198,6 +217,44 @@ let } ]; } + { + description = "Hyper+Q runs Add Quote shortcut"; + manipulators = [ + { + from = { + key_code = "q"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = "shortcuts run 'Add Quote'"; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+G runs Shades of Gray shortcut"; + manipulators = [ + { + from = { + key_code = "g"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = "shortcuts run 'Shades of Gray'"; + } + ]; + type = "basic"; + } + ]; + } ]; };