add myip tool

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-03 00:35:22 +03:00
parent 47d4f9c639
commit c06ffa5774
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
2 changed files with 10 additions and 0 deletions

8
packages/myip.nix Normal file
View file

@ -0,0 +1,8 @@
{ bind, writeShellApplication }:
writeShellApplication {
name = "myip";
text = ''
${bind.dnsutils}/bin/dig +short myip.opendns.com @resolver1.opendns.com
'';
}

View file

@ -50,6 +50,8 @@
})
# ungoogled-chromium
tor-browser-bundle-bin
(pkgs.callPackage ../../packages/myip.nix { })
];
local.git = {