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.35.2,429",
"src": {
"url": "https://fireball.studio/media/uploads/files/OneSwitchOfficial-429.dmg",
"sha256": "f51c33c8e0e897fd30b877cc3f4e32705986031366f2ae7956e5f70314326cf4"
},
"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"
}
}