- Update flake.nix with 25.11 release and core inputs - Add dedicated modules for audio (Pipewire), bluetooth, and networking - Update GEMINI.md with the new Modular Merging Architecture blueprint - Configure graphical installer ISO and test VM outputs
21 lines
337 B
Bash
Executable File
21 lines
337 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
PKG_NAME="$1"
|
|
|
|
if [ -z "$PKG_NAME" ]; then
|
|
echo "Usage: nomarchy-pkg-present <package-name>"
|
|
exit 1
|
|
fi
|
|
|
|
STATE_FILE="$HOME/.config/home-manager/user-packages.json"
|
|
|
|
if [ ! -f "$STATE_FILE" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
if jq -e ". | index(\"$PKG_NAME\")" "$STATE_FILE" >/dev/null; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|