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.19",
"src": {
"url": "https://github.com/pallotron/yubiswitch/releases/download/v0.19/yubiswitch_0.19.dmg",
"sha256": "974d7481b388fe79b03f1eea2c39f45a2f74051b774a489a00e2fe00c9df1b31"
},
"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"
}
}