feat: various updates including nixspect removal, new aliases, and browser config

This commit is contained in:
Mohammad Rafiq 2025-06-30 05:54:14 +08:00
parent af6a3b6f2c
commit d0738a9c1e
No known key found for this signature in database
11 changed files with 8 additions and 50 deletions

View file

@ -1,20 +0,0 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "check" # bash
''
check_nginx() {
ssh apollo systemctl show nginx | grep '^ExecStart=' | grep -oP ' -c \K[^ ]+' | xargs cat
}
while [[ $# -gt 0 ]]; do
case "$1" in
nginx)
check_nginx
exit 0
;;
*)
echo "Unrecognised parameter."
exit 1
;;
esac
done
''