Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
gray # Gray
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
gray # Gray
];
} Package Definition
{
"pname": "gray",
"version": "0.17.0",
"src": {
"url": "https://github.com/zenangst/Gray/releases/download/0.17.0/Gray.zip",
"sha256": "631e13cf28bae804e7e1a77cddaf2277f91d2de0c45c6fd7805a7c0eac627edd"
},
"installPhase": [
"mkdir -p \"$out/Applications/Gray.app\" && cp -r \"Gray.app\" \"$out/Applications\""
],
"meta": {
"description": "Tool to set light or dark appearance on a per-app basis",
"homepage": "https://github.com/zenangst/Gray"
}
}