Update home/modules/fish/default.nix

This commit is contained in:
dnscio 2025-05-07 06:16:10 +00:00
parent fe974bd031
commit dcb52dc070

View file

@ -42,6 +42,8 @@
echo "---" echo "---"
end end
''; '';
localip = " ifconfig | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' | head -n 1";
publicip = "curl -4 ifconfig.me";
}; };
interactiveShellInit = '' interactiveShellInit = ''