Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
brisync # Brisync
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
brisync # Brisync
];
} Package Definition
{
"pname": "brisync",
"version": "2.0.1",
"src": {
"url": "https://github.com/czarny/Brisync/releases/download/v2.0.1/Brisync.zip",
"sha256": "3033c98c965917383a9a96bb355d2a760e285444a2f89266814f920b3f7da422"
},
"installPhase": [
"mkdir -p \"$out/Applications/Brisync.app\" && cp -r \"Brisync.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility to automatically control the brightness of external displays",
"homepage": "https://github.com/czarny/Brisync/"
}
}