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.2",
"src": {
"url": "https://github.com/alberti42/Volume-Control/releases/download/v2.3.2/VolumeControl.zip",
"sha256": "7e111cc1aa981eb492ba7ea4712fe5a685b9c027f876b2c26eb2041565523b73"
},
"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"
}
}