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.1.0",
"src": {
"url": "https://raw.githubusercontent.com/alberti42/Volume-Control/main/Releases/VolumeControl-v2.1.0.zip",
"sha256": "b3012f66a601aa97e0b76182dcaecc1a60f4f7cc9be393dd58a3db8abceb1d40"
},
"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"
}
}