Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b0b7c22
docs: normalize filenames to kebab case
Bad3r Oct 6, 2025
4c1350d
chore: update flake lock
Bad3r Oct 6, 2025
54cd772
feat(security): integrate usbguard baseline for system76
Bad3r Oct 7, 2025
17e9437
chore(typos): relax ignore patterns
Bad3r Oct 7, 2025
6b615eb
feat(kitty): add shift+enter keybinding for bash line continuation
Bad3r Oct 7, 2025
4b8dd5e
feat(build.sh): add flags to skip validation steps
Bad3r Oct 7, 2025
9d49232
feat(claude-code): manage claude shell config declaratively
Bad3r Oct 7, 2025
f7168db
feat(cf-auto-docs): implement simplified NixOS module documentation A…
Bad3r Oct 8, 2025
6247902
feat(nix): improve module extraction and type parsing
Bad3r Oct 8, 2025
2361009
docs: normalize filenames to kebab case
Bad3r Oct 6, 2025
004fcae
chore: update flake lock
Bad3r Oct 6, 2025
f00d0e8
feat(kitty): add shift+enter keybinding for bash line continuation
Bad3r Oct 7, 2025
5ca7c83
feat(build.sh): add flags to skip validation steps
Bad3r Oct 7, 2025
abfed16
feat(claude-code): manage claude shell config declaratively
Bad3r Oct 7, 2025
ed859e5
feat(home-manager): add Claude Code settings management
Bad3r Oct 8, 2025
e305773
Merge branch 'main' into feat/cf-auto-docs-50c9
Bad3r Oct 8, 2025
bd17618
fix: remove unused lambda patterns and trailing whitespace
Bad3r Oct 8, 2025
a043ab9
fix: use underscore for empty pattern
Bad3r Oct 8, 2025
adc4816
style: apply nixfmt formatting
Bad3r Oct 8, 2025
ceedb9c
chore: update nix-logseq-git-flake lock hash
Bad3r Oct 8, 2025
c3457dc
feat(home-manager): refactor claude-code module with comprehensive se…
Bad3r Oct 8, 2025
36b793e
Merge branch 'main' into feat/cf-auto-docs-50c9
Bad3r Oct 8, 2025
9f28fb0
Revert "feat(cf-auto-docs): implement simplified NixOS module documen…
Bad3r Oct 8, 2025
0eed689
Delete implementation/PR_DESCRIPTION.md
Bad3r Oct 8, 2025
8e622d7
Revert "feat(security): integrate usbguard baseline for system76"
Bad3r Oct 8, 2025
4aa961e
fix(system76): dedupe claude-code app entry
Bad3r Oct 8, 2025
16cb505
Merge branch 'main' into feat/claude-code-home-manager
Bad3r Oct 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@
"Bash(nix develop:*)",
"Bash(nix-env:*)",
"Bash(generation-manager score:*)",
"Read(/home/vx/git/infra/**)"
"Read(/home/vx/git/infra/**)",
"Bash(claude mcp:*)",
"Read(//home/vx/.config/**)",
"Read(//home/vx/.claude/**)",
"Bash(strace:*)",
"Read(//home/vx/**)",
"Bash(xargs ls:*)",
"Bash(nix flake show:*)",
"Bash(/dev/null)",
"mcp__cfdocs__search_cloudflare_documentation"
]
}
}
}
22 changes: 14 additions & 8 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
[default]
extend-ignore-re = [
"[A-Za-z0-9+/=]{32,}", # base64/age blobs
"-[A-Za-z0-9]{1,4}", # short CLI flags (e.g. -Pn)
"\\.[A-Za-z0-9]{1,4}" # short file ext. (e.g. .edn)
]

[default.extend-words]
laf = "laf"
Iy = "Iy"
edn = "edn"
pn = "pn"
abd = "abd"
ba = "ba"
example = "example"
iterm2 = "iterm2"
iterm2_with_bell = "iterm2_with_bell"
iterm = "iterm"

[[default.ignore.files]]
glob = "secrets/**"
[files]
# Skip encrypted secrets entirely; they are high-entropy ciphertext.
extend-exclude = ["secrets/**"]
1 change: 0 additions & 1 deletion CLAUDE.md

This file was deleted.

228 changes: 228 additions & 0 deletions CLAUDE.md

Large diffs are not rendered by default.

49 changes: 43 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ OFFLINE=false
VERBOSE=false
ALLOW_DIRTY=${ALLOW_DIRTY:-false}
AUTO_UPDATE=false
SKIP_FMT=false
SKIP_HOOKS=false
SKIP_CHECK=false
ACTION="switch" # default action after build: switch | boot
NIX_FLAGS=()
# Colors for output
Expand All @@ -55,6 +58,10 @@ Options:
--boot Install as next-boot generation (do not activate now)
--allow-dirty Allow running with a dirty git worktree (not recommended)
--update Run 'nix flake update' and auto-commit before building
--skip-fmt Skip the 'nix fmt' formatting step
--skip-hooks Skip the pre-commit hooks validation
--skip-check Skip the 'nix flake check' validation step
--skip-all Skip all validation steps (fmt, hooks, check)
-h, --help Show this help message

Usage Example:
Expand Down Expand Up @@ -113,6 +120,24 @@ while [[ $# -gt 0 ]]; do
AUTO_UPDATE=true
shift
;;
--skip-fmt)
SKIP_FMT=true
shift
;;
--skip-hooks)
SKIP_HOOKS=true
shift
;;
--skip-check)
SKIP_CHECK=true
shift
;;
--skip-all)
SKIP_FMT=true
SKIP_HOOKS=true
SKIP_CHECK=true
shift
;;
--help)
show_help
exit 0
Expand Down Expand Up @@ -220,17 +245,29 @@ main() {

configure_nix_flags

status_msg "${YELLOW}" "Formatting Nix files..."
nix fmt --accept-flake-config "${FLAKE_DIR}"
if [[ ${SKIP_FMT} == "false" ]]; then
status_msg "${YELLOW}" "Formatting Nix files..."
nix fmt --accept-flake-config "${FLAKE_DIR}"
else
status_msg "${YELLOW}" "Skipping nix fmt (--skip-fmt flag used)..."
fi

status_msg "${YELLOW}" "Running pre-commit hooks..."
nix develop --accept-flake-config "${NIX_FLAGS[@]}" -c pre-commit run --all-files
if [[ ${SKIP_HOOKS} == "false" ]]; then
status_msg "${YELLOW}" "Running pre-commit hooks..."
nix develop --accept-flake-config "${NIX_FLAGS[@]}" -c pre-commit run --all-files
else
status_msg "${YELLOW}" "Skipping pre-commit hooks (--skip-hooks flag used)..."
fi

status_msg "${YELLOW}" "Scoring Dendritic Pattern compliance..."
#generation-manager score

status_msg "${YELLOW}" "Validating flake (evaluation + invariants)..."
nix flake check "${FLAKE_DIR}" --accept-flake-config --no-build "${NIX_FLAGS[@]}"
if [[ ${SKIP_CHECK} == "false" ]]; then
status_msg "${YELLOW}" "Validating flake (evaluation + invariants)..."
nix flake check "${FLAKE_DIR}" --accept-flake-config --no-build "${NIX_FLAGS[@]}"
else
status_msg "${YELLOW}" "Skipping flake check (--skip-check flag used)..."
fi

status_msg "${GREEN}" "Validation completed successfully!"

Expand Down
90 changes: 0 additions & 90 deletions docs/NIXOS_CONFIGURATION_REVIEW_CHECKLIST.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/RFC-001-implementation-checklist.md

This file was deleted.

Loading