Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
volume-control # Volume Control
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
volume-control # Volume Control
];
} Package Definition
{
"pname": "volume-control",
"version": "2.3.0",
"src": {
"url": "https://github.com/alberti42/Volume-Control/releases/download/v2.3.0/VolumeControl.zip",
"sha256": "aec78c02cfef544aac2e6f10ae9ca60252f9c3af152939eee72a260f347ba94b"
},
"installPhase": [
"mkdir -p \"$out/Applications/Volume Control.app\" && cp -r \"Volume Control.app\" \"$out/Applications\""
],
"meta": {
"description": "Control the volume of Apple Music and Spotify using keyboard volume keys",
"homepage": "https://github.com/alberti42/Volume-Control"
}
}