Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
itunes-volume-control # iTunes Volume Control
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
itunes-volume-control # iTunes Volume Control
];
} Package Definition
{
"pname": "itunes-volume-control",
"version": "1.7.7",
"src": {
"url": "https://raw.githubusercontent.com/alberti42/Volume-Control/main/Releases/VolumeControl-v1.7.7.zip",
"sha256": "e2699f2cc1fc4578fa0fb59294d208030ad5a48fd457713df9fae95077df2707"
},
"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"
}
}