Last active
February 28, 2025 15:23
-
-
Save galderz/88a457b365f6beb2a88999ce7cd7012a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults read com.apple.symbolichotkeys AppleSymbolicHotKeys | grep -A6 "\"60\"" | |
defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys -dict-add 60 ' | |
{ | |
"enabled" = 0; | |
"value" = { | |
"parameters" = (32, 49, 262144); | |
"type" = "standard"; | |
}; | |
}' | |
killall cfprefsd | |
killall SystemUIServer | |
{ pkgs ? import <nixpkgs> {} }: | |
let | |
xcodeApp = "/nix/store/<computed-hash>-Xcode.app"; | |
in | |
pkgs.mkShellNoCC { | |
# Make the manually added Xcode.app part of the shell environment | |
packages = [ | |
pkgs.autoconf | |
pkgs.jdk23 | |
# This is the manually added path | |
xcodeApp | |
]; | |
# Optionally, set environment variables to point to Xcode’s toolchains | |
shellHook = '' | |
echo "Setting DEVELOPER_DIR to use Xcode from the Nix store." | |
export DEVELOPER_DIR=${xcodeApp}/Contents/Developer | |
# If you need more environment vars, set them here | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment