Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
airunlock # AirUnlock
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
airunlock # AirUnlock
];
} Package Definition
{
"pname": "airunlock",
"version": "0.4",
"src": {
"url": "https://github.com/pinetum/AirUnlock-for-Mac/releases/download/0.4/AirUnlock_mac_0.4.zip",
"sha256": "85f4aee6bc67f6b7c0d01ab36e50a117690574c0e31b210aa3f80931269bf170"
},
"installPhase": [
"mkdir -p \"$out/Applications/AirUnlock.app\" && cp -r \"AirUnlock.app\" \"$out/Applications\""
],
"meta": {
"description": "Tool to lock or unlock the macbook using an Android phone via Bluetooth",
"homepage": "https://github.com/pinetum/AirUnlock-for-Mac"
}
}