From 92da1517b52fb82f07548bee48a4abffde8227d1 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Wed, 26 Aug 2026 09:49:21 -0700 Subject: [PATCH] Adds Useful Utilities note. --- src/content/notes/NixOS/Useful Utilities.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/content/notes/NixOS/Useful Utilities.md diff --git a/src/content/notes/NixOS/Useful Utilities.md b/src/content/notes/NixOS/Useful Utilities.md new file mode 100644 index 0000000..2c6f0e3 --- /dev/null +++ b/src/content/notes/NixOS/Useful Utilities.md @@ -0,0 +1,13 @@ +--- +title: Useful Utilities +--- + +Here's a small collection of various utilities and recipes I find useful. It's not organized in a particular way, but more as a long-term memory for me. + +## JPEG Optimization + +[jpegoptim](https://github.com/tjko/jpegoptim) is a handy little utility for doing JPEG optimization. I use it to compress files and strip EXIF data. Here's an example that will process all the files in the current directory and compress them to a reasonable 85. + +```bash +nix run 'nixpkgs#jpegoptim' -- --max=85 --strip-all *.jpg +```