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