Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
discretescroll # DiscreteScroll
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
discretescroll # DiscreteScroll
];
} Package Definition
{
"pname": "discretescroll",
"version": "1.2.1",
"src": {
"url": "https://github.com/emreyolcu/discrete-scroll/releases/download/v1.2.1/DiscreteScroll.zip",
"sha256": "f2cc275e4537811bf35b2cec2128c086eefbe613c3b79b08819f4f966f1f7a60"
},
"installPhase": [
"mkdir -p \"$out/Applications/DiscreteScroll.app\" && cp -r \"DiscreteScroll.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility to fix a common scroll wheel problem",
"homepage": "https://github.com/emreyolcu/discrete-scroll"
}
}