aboutsummaryrefslogtreecommitdiff
path: root/config/nickel.nix
blob: 5e62fc6a6328a51b12a6262d2ce8aea658827a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, pkgs, lib, ... }:
with builtins // lib;
{
  nickel = {
    enable = true;

    menu.item = {
      settings = [
        {
          location = "main";
          label = "IP Address";
          action = "cmd_output";
          arg = [
            "500"
            "/sbin/ifconfg | /usr/bin/awk '/inet addr/{print substr($2,6)}'"
          ];
        }
      ];
    };
  };
}