Merge remote-tracking branch 'origin/main'

This commit is contained in:
Geoffrey Frogeye 2024-02-04 15:01:27 +01:00
commit 659f6ae806
3 changed files with 6 additions and 6 deletions

View file

@ -398,11 +398,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1706098335, "lastModified": 1706718339,
"narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", "narHash": "sha256-S+S97c/HzkO2A/YsU7ZmNF9w2s7Xk6P8dzmfDdckzLs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a77ab169a83a4175169d78684ddd2e54486ac651", "rev": "53fbe41cf76b6a685004194e38e889bc8857e8c2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -182,6 +182,7 @@
jdupes jdupes
duperemove duperemove
compsize compsize
btdu
# toolbox # toolbox
imagemagick imagemagick

View file

@ -1,8 +1,8 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#! nix-shell -i bash --pure #! nix-shell -i bash --pure
#! nix-shell -p bash jq curl findutils coreutils #! nix-shell -p bash jq curl cacert findutils coreutils
set -euo pipefail set -euxo pipefail
url="https://ip.frogeye.fr/json" url="https://ip.frogeye.fr/json"
cachedir="$HOME/.cache/lip" cachedir="$HOME/.cache/lip"
@ -16,7 +16,6 @@ then
jq_sel="$@" jq_sel="$@"
fi fi
if [ -n "$ip" ] if [ -n "$ip" ]
then then
cachefile="$cachedir/$ip" cachefile="$cachedir/$ip"