Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
pallotron-yubiswitch # Yubiswitch
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
pallotron-yubiswitch # Yubiswitch
];
} Package Definition
{
"pname": "pallotron-yubiswitch",
"version": "0.18",
"src": {
"url": "https://github.com/pallotron/yubiswitch/releases/download/v0.18/yubiswitch_0.18.dmg",
"sha256": "79eee5f238f5a49763f928cc35670b7c757ffc6d051bd6dd06435cc5487c66e9"
},
"installPhase": [
"mkdir -p \"$out/Applications/yubiswitch.app\" && cp -r \"yubiswitch.app\" \"$out/Applications\""
],
"meta": {
"description": "Status bar application to enable/disable Yubikey Nano",
"homepage": "https://github.com/pallotron/yubiswitch"
}
}