Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
one-switch # One Switch
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
one-switch # One Switch
];
}
Package Definition
{
"pname": "one-switch",
"version": "1.34.2,413",
"src": {
"url": "https://fireball.studio/media/uploads/files/OneSwitchOfficial-413.dmg",
"sha256": "05d7d7d866613462e4dad2c836ae5b4109058e8a4b0b7b44284a657aa4fa64a3"
},
"installPhase": [
"mkdir -p \"$out/Applications/One Switch.app\" && cp -r \"One Switch.app\" \"$out/Applications\""
],
"meta": {
"description": "All system and utility switches in one place",
"homepage": "https://fireball.studio/oneswitch"
}
}