Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ip-in-menu-bar # IP in menu bar
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ip-in-menu-bar # IP in menu bar
];
}
Package Definition
{
"pname": "ip-in-menu-bar",
"version": "4.7.1",
"src": {
"url": "https://www.monkeybreadsoftware.de/Software/IPinmenubar.dmg",
"sha256": "no_check"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"IP in menu bar.app\" \"$out/Applications/IP in menu bar.app\""
],
"meta": {
"description": "Shows current IP address in menu bar",
"homepage": "https://www.monkeybreadsoftware.de/Software/IPinmenubar.shtml"
}
}