Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
lighting # Lighting
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
lighting # Lighting
];
} Package Definition
{
"pname": "lighting",
"version": "1.1.7",
"src": {
"url": "https://github.com/tatey/Lighting/releases/download/1.1.7/Lighting-1.1.7.zip",
"sha256": "8cab328133decacb8a608b034dae899e1105c20d97ec791ff089ddbbb0510d4f"
},
"installPhase": [
"mkdir -p \"$out/Applications/Lighting.app\" && cp -r \"Lighting.app\" \"$out/Applications\""
],
"meta": {
"description": "Tool to control LIFX lights via a Notification Center widget",
"homepage": "https://github.com/tatey/Lighting"
}
}