add myip tool
This commit is contained in:
parent
47d4f9c639
commit
c06ffa5774
2 changed files with 10 additions and 0 deletions
8
packages/myip.nix
Normal file
8
packages/myip.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ bind, writeShellApplication }:
|
||||||
|
|
||||||
|
writeShellApplication {
|
||||||
|
name = "myip";
|
||||||
|
text = ''
|
||||||
|
${bind.dnsutils}/bin/dig +short myip.opendns.com @resolver1.opendns.com
|
||||||
|
'';
|
||||||
|
}
|
|
@ -50,6 +50,8 @@
|
||||||
})
|
})
|
||||||
# ungoogled-chromium
|
# ungoogled-chromium
|
||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
|
|
||||||
|
(pkgs.callPackage ../../packages/myip.nix { })
|
||||||
];
|
];
|
||||||
|
|
||||||
local.git = {
|
local.git = {
|
||||||
|
|
Loading…
Reference in a new issue