Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
cc-switch # CC Switch
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
cc-switch # CC Switch
];
} Package Definition
{
"pname": "cc-switch",
"version": "3.16.2",
"src": {
"url": "https://github.com/farion1231/cc-switch/releases/download/v3.16.2/CC-Switch-v3.16.2-macOS.dmg",
"sha256": "004a28e79f60f34840e32ed54c394c1ffdb55f25e90dfdf8cc5c3435fb987d8b"
},
"installPhase": [
"mkdir -p \"$out/Applications/CC Switch.app\" && cp -r \"CC Switch.app\" \"$out/Applications\""
],
"meta": {
"description": "Configuration manager for AI coding agents",
"homepage": "https://github.com/farion1231/cc-switch"
}
}