From 45156e2bdb359c22398f8c7a60fb729ad168786a Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Thu, 25 Jan 2024 11:26:31 -0600 Subject: This distribution is coming together --- config/nickel.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/nickel.nix (limited to 'config/nickel.nix') diff --git a/config/nickel.nix b/config/nickel.nix new file mode 100644 index 0000000..5e62fc6 --- /dev/null +++ b/config/nickel.nix @@ -0,0 +1,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)}'" + ]; + } + ]; + }; + }; +} -- cgit v1.2.3