Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
switchy # Switchy
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
switchy # Switchy
];
} Package Definition
{
"pname": "switchy",
"version": "1.1.5,81",
"src": {
"url": "https://github.com/benhursenabathi/mangobuns/releases/download/switchy-v1.1.5-build81/Switchy-1.1.5.dmg",
"sha256": "7d7c813a7a69e99d06f2f96dd6dcba215d110f10ade7aa95b811828d8644582b"
},
"installPhase": [
"mkdir -p \"$out/Applications/Switchy.app\" && cp -r \"Switchy.app\" \"$out/Applications\""
],
"meta": {
"description": "Switch Magic Keyboard, Trackpad and Mouse between Macs",
"homepage": "https://mangobuns.com/switchy/"
}
}