@sebastienrousseau/dotfiles 0.2.500 → 0.2.501

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/README.md +82 -44
  3. package/docs/.vitepress/reports/localization-readability-audit.md +4 -0
  4. package/docs/AI.md +8 -2
  5. package/docs/CNAME +1 -0
  6. package/docs/COPYRIGHT +1 -1
  7. package/docs/NAMING_CONVENTIONS.md +7 -0
  8. package/docs/README.md +4 -0
  9. package/docs/_config.yml +59 -0
  10. package/docs/adr/ADR-001-ci-cd-pipeline.md +17 -0
  11. package/docs/adr/ADR-002-shell-performance.md +9 -0
  12. package/docs/adr/ADR-003-security-first.md +18 -0
  13. package/docs/adr/ADR-004-cli-architecture.md +14 -0
  14. package/docs/adr/ADR-005-chezmoi-choice.md +10 -0
  15. package/docs/adr/ADR-006-shell-selection.md +9 -0
  16. package/docs/adr/ADR-007-multi-shell-parity.md +10 -1
  17. package/docs/adr/ADR-008-alias-system-architecture.md +10 -0
  18. package/docs/adr/ADR-009-wallpaper-driven-theming.md +131 -0
  19. package/docs/adr/ADR-010-starship-transient-prompt.md +144 -0
  20. package/docs/adr/ADR-011-nushell-tier3-keep.md +144 -0
  21. package/docs/adr/README.md +7 -0
  22. package/docs/architecture/ARCHITECTURE.md +4 -0
  23. package/docs/architecture/INTEROP.md +8 -0
  24. package/docs/architecture/REPO_LAYOUT.md +5 -1
  25. package/docs/architecture/WALKTHROUGH.md +4 -0
  26. package/docs/architecture/fleet-deployment.md +4 -0
  27. package/docs/archive/EUXIS_2026_REVIEW.md +11 -3
  28. package/docs/archive/LEGACY_ROADMAP.md +45 -27
  29. package/docs/archive/MILESTONE_v0.2.493.md +4 -0
  30. package/docs/archive/PLAN.md +46 -8
  31. package/docs/archive/REPO_AUDIT.md +8 -0
  32. package/docs/guides/INSTALL.md +4 -0
  33. package/docs/guides/NEOVIM_IDE_GUIDE.md +9 -0
  34. package/docs/guides/THEMING.md +8 -0
  35. package/docs/guides/TROUBLESHOOTING.md +28 -0
  36. package/docs/guides/WSL2_NIX_TROUBLESHOOTING.md +70 -1
  37. package/docs/index.md +6 -2
  38. package/docs/interop/A2A.md +7 -0
  39. package/docs/interop/POWERSHELL.md +102 -0
  40. package/docs/manual/00-introduction.md +5 -1
  41. package/docs/manual/01-concepts/01-architecture.md +4 -0
  42. package/docs/manual/01-concepts/02-trust-model.md +6 -2
  43. package/docs/manual/01-concepts/03-theme-engine.md +4 -0
  44. package/docs/manual/01-concepts/04-fleet.md +7 -1
  45. package/docs/manual/01-concepts/05-self-healing.md +8 -1
  46. package/docs/manual/02-tutorials/01-first-install.md +5 -0
  47. package/docs/manual/02-tutorials/02-add-wallpaper.md +5 -0
  48. package/docs/manual/02-tutorials/03-create-profile.md +6 -0
  49. package/docs/manual/02-tutorials/04-encrypt-secret.md +6 -0
  50. package/docs/manual/02-tutorials/05-deploy-fleet.md +5 -1
  51. package/docs/manual/03-reference/01-dot-cli.md +4 -0
  52. package/docs/manual/03-reference/02-config-files.md +8 -2
  53. package/docs/manual/03-reference/03-environment.md +4 -0
  54. package/docs/manual/03-reference/04-templates.md +7 -1
  55. package/docs/manual/03-reference/05-feature-flags.md +10 -0
  56. package/docs/manual/04-cookbook/01-recipes.md +4 -0
  57. package/docs/manual/04-cookbook/02-troubleshooting.md +32 -0
  58. package/docs/manual/04-cookbook/03-faq.md +8 -0
  59. package/docs/manual/05-appendices/A-platform-matrix.md +4 -0
  60. package/docs/manual/05-appendices/B-security-checklist.md +6 -0
  61. package/docs/manual/05-appendices/C-glossary.md +4 -0
  62. package/docs/manual/05-appendices/D-bibliography.md +5 -1
  63. package/docs/manual/05-appendices/E-license.md +4 -0
  64. package/docs/manual/_toc.yml +1 -1
  65. package/docs/manual/command-index.md +4 -0
  66. package/docs/manual/concept-index.md +4 -0
  67. package/docs/operations/ATTESTATION.md +5 -0
  68. package/docs/operations/CI_CADENCE.md +107 -0
  69. package/docs/operations/CI_COMPOSITES.md +156 -0
  70. package/docs/operations/COMPLETIONS.md +123 -0
  71. package/docs/operations/COVERAGE.md +148 -0
  72. package/docs/operations/DRIFT.md +107 -0
  73. package/docs/operations/MAINTENANCE.md +5 -1
  74. package/docs/operations/MIGRATION.md +14 -6
  75. package/docs/operations/OPERATIONS.md +24 -0
  76. package/docs/operations/PERFORMANCE.md +133 -0
  77. package/docs/operations/RELIABILITY.md +6 -0
  78. package/docs/operations/ROADMAP.md +36 -18
  79. package/docs/operations/TESTING.md +4 -0
  80. package/docs/operations/TRACEABILITY.md +4 -0
  81. package/docs/operations/TRUSTED_AGENT_WORKSTATION.md +4 -0
  82. package/docs/operations/VERSION_SYNC.md +54 -5
  83. package/docs/reference/ALIASES.md +7 -0
  84. package/docs/reference/ALIASES_CHEATSHEET.md +5 -1
  85. package/docs/reference/ALIASES_DEPRECATIONS.md +5 -1
  86. package/docs/reference/FEATURES.md +4 -0
  87. package/docs/reference/FONTS.md +4 -0
  88. package/docs/reference/PROFILES.md +4 -0
  89. package/docs/reference/SCREENSHOTS.md +4 -0
  90. package/docs/reference/SCRIPTS.md +4 -0
  91. package/docs/reference/SUPPORT_MATRIX.md +10 -4
  92. package/docs/reference/THEMES.md +4 -0
  93. package/docs/reference/TOOLS.md +4 -0
  94. package/docs/reference/UTILS.md +16 -12
  95. package/docs/security/AI_ACT_COMPLIANCE.md +4 -0
  96. package/docs/security/AUDIT_BYPASS.md +103 -0
  97. package/docs/security/AUTOMATION_SECRETS.md +4 -0
  98. package/docs/security/CI_EGRESS_ALLOWLIST.md +127 -0
  99. package/docs/security/COMPLIANCE.md +5 -0
  100. package/docs/security/DEPS_DEV_EXCEPTIONS.md +86 -0
  101. package/docs/security/ENCRYPTION.md +5 -0
  102. package/docs/security/FMEA.md +4 -0
  103. package/docs/security/HISTORY_FILTERING.md +132 -0
  104. package/docs/security/INCIDENT_RESPONSE.md +4 -0
  105. package/docs/security/INSTALL_VERIFICATION.md +122 -0
  106. package/docs/security/KEYS.md +4 -0
  107. package/docs/security/KEY_ROTATION.md +4 -0
  108. package/docs/security/MCP_POLICY.md +9 -0
  109. package/docs/security/POLICY_RELEASES.md +4 -0
  110. package/docs/security/README.md +4 -0
  111. package/docs/security/SCORECARD.md +80 -0
  112. package/docs/security/SECRETS.md +12 -0
  113. package/docs/security/SECURITY.md +4 -0
  114. package/docs/security/SECURITY_CHECKLIST.md +11 -0
  115. package/docs/security/SHELL_EXEMPTIONS.md +145 -0
  116. package/docs/security/SOUP_REGISTER.md +4 -0
  117. package/docs/security/THREAT_MODEL.md +10 -0
  118. package/docs/security/VERIFICATION_VALIDATION.md +5 -1
  119. package/docs/themes/README.md +4 -0
  120. package/docs/themes/VISUAL_INTEGRITY_REPORT.md +4 -0
  121. package/dot_config/ai/identity.md +3 -0
  122. package/dot_config/ai/patterns/architect.md +2 -0
  123. package/dot_config/ai/patterns/hardener.md +2 -0
  124. package/dot_config/ai/patterns/refactor.md +2 -0
  125. package/dot_config/alacritty/alacritty.toml.tmpl +3 -3
  126. package/dot_config/atuin/config.toml.tmpl +47 -0
  127. package/dot_config/dotfiles/agent-card.json +1 -1
  128. package/dot_config/dotfiles/boot/README.md +2 -0
  129. package/dot_config/dotfiles/grub/README.md +2 -0
  130. package/dot_config/dotfiles/lock/README.md +2 -0
  131. package/dot_config/fish/conf.d/init.fish.tmpl +21 -0
  132. package/dot_config/fish/functions/_cached_eval.fish +84 -11
  133. package/dot_config/fish/functions/_cached_eval_clear.fish +17 -0
  134. package/dot_config/foot/foot.ini.tmpl +3 -3
  135. package/dot_config/fuzzel/fuzzel.ini.tmpl +2 -2
  136. package/dot_config/ghostty/config.tmpl +3 -3
  137. package/dot_config/git/hooks/executable_commit-msg +146 -0
  138. package/dot_config/goose/config.yaml +2 -2
  139. package/dot_config/gtk-3.0/gtk.css.tmpl +2 -2
  140. package/dot_config/gtk-3.0/settings.ini.tmpl +2 -2
  141. package/dot_config/gtk-4.0/gtk.css.tmpl +2 -2
  142. package/dot_config/gtk-4.0/settings.ini.tmpl +2 -2
  143. package/dot_config/kitty/kitty.conf.tmpl +3 -3
  144. package/dot_config/mise/config.toml +1 -1
  145. package/dot_config/niri/config.kdl.tmpl +2 -2
  146. package/dot_config/nushell/cached_eval.nu +80 -0
  147. package/dot_config/nushell/env.nu.tmpl +21 -13
  148. package/dot_config/shell/00-core-paths.sh.tmpl +1 -0
  149. package/dot_config/shell/05-core-safety.sh +1 -0
  150. package/dot_config/shell/10-secrets.sh +1 -0
  151. package/dot_config/shell/40-fzf-defaults.sh.tmpl +1 -0
  152. package/dot_config/shell/40-ls-colors.sh +1 -0
  153. package/dot_config/shell/50-logic-functions-core.sh.tmpl +1 -0
  154. package/dot_config/shell/50-logic-functions.sh.tmpl +1 -0
  155. package/dot_config/shell/51-logic-functions-extra.sh.tmpl +1 -0
  156. package/dot_config/shell/90-ux-aliases.sh.tmpl +1 -0
  157. package/dot_config/shell/91-ux-aliases-lazy.sh.tmpl +1 -0
  158. package/dot_config/shell/README.md +25 -8
  159. package/dot_config/starship.toml.tmpl +2 -2
  160. package/dot_config/tmux/tmux.conf.tmpl +3 -3
  161. package/dot_config/user-dirs.dirs +1 -0
  162. package/dot_config/vscode/settings.json.tmpl +2 -2
  163. package/dot_config/waybar/config.jsonc.tmpl +2 -2
  164. package/dot_config/waybar/style.css.tmpl +2 -2
  165. package/dot_config/wezterm/wezterm.lua.tmpl +3 -3
  166. package/dot_config/zsh/dot_zshrc.tmpl +154 -17
  167. package/dot_config/zsh/rc.d/00-alias-shims.zsh +28 -6
  168. package/dot_config/zsh/rc.d/30-options.zsh.tmpl +26 -6
  169. package/dot_local/bin/executable_bm +2 -0
  170. package/dot_local/bin/executable_dot +9 -2
  171. package/dot_local/bin/executable_dot-load-benchmark +1 -1
  172. package/dot_local/bin/executable_notify +2 -0
  173. package/dot_local/bin/executable_open +2 -0
  174. package/dot_local/bin/executable_tour +4 -2
  175. package/dot_local/bin/executable_up +3 -1
  176. package/install.sh +12 -4
  177. package/package.json +1 -1
  178. package/scripts/ci/check-dangerous-chmod.sh +19 -0
  179. package/scripts/ci/check-deps-dev.sh +236 -0
  180. package/scripts/ci/check-insecure-tls.sh +61 -0
  181. package/scripts/ci/check-regression-traceability.sh +67 -0
  182. package/scripts/ci/check-shell-preamble.sh +106 -0
  183. package/scripts/ci/run-coverage.sh +362 -0
  184. package/scripts/ci/validate-chezmoidata.sh +25 -0
  185. package/scripts/diagnostics/doctor.sh +173 -5
  186. package/scripts/diagnostics/drift-dashboard.sh +177 -13
  187. package/scripts/diagnostics/health.sh +21 -4
  188. package/scripts/diagnostics/perf.sh +304 -77
  189. package/scripts/diagnostics/workstation-attestation.sh +6 -1
  190. package/scripts/dot/commands/agent.sh +14 -5
  191. package/scripts/dot/commands/ai.sh +75 -10
  192. package/scripts/dot/lib/bento.sh +2 -1
  193. package/scripts/dot/lib/log.sh +6 -0
  194. package/scripts/dot/lib/platform.sh +1 -0
  195. package/scripts/dot/lib/ui.sh +11 -0
  196. package/scripts/dot/lib/utils.sh +5 -0
  197. package/scripts/git-hooks/pre-commit-audit.sh +1 -1
  198. package/scripts/git-hooks/pre-push +66 -3
  199. package/scripts/ops/heal-chezmoi.sh +41 -6
  200. package/scripts/qa/powershell-contract.ps1 +95 -0
  201. package/scripts/theme/merge-wallpaper.sh +4 -0
  202. package/scripts/theme/switch.sh +20 -10
  203. package/dot_config/atuin/config.toml +0 -40
  204. package/dot_local/bin/__pycache__/executable_dot-load-benchmark-ptycpython-312.pyc +0 -0
@@ -1,46 +1,59 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+
1
5
  # Universal Configuration Plan (Chezmoi)
2
6
 
3
7
  ... [Previous Sections Unchanged] ...
4
8
 
5
9
  # Phase 15: Operational Documentation [COMPLETED]
10
+
6
11
  - [x] **Guide**: Created `OPERATIONS.md`.
7
12
 
8
13
  # Phase 16: Final Release Verification [COMPLETED]
14
+
9
15
  - [x] **Verification**: All systems passed.
10
16
 
11
17
  # Phase 17: Structural Optimizations (v0.3.0)
12
18
 
13
19
  ## Goal
20
+
14
21
  Implement structural improvements for better organization and maintainability, anticipating v0.3.0.
15
22
 
16
23
  ## Proposed Changes
17
24
 
18
25
  ### [REFACTOR] Semantic Organization
26
+
19
27
  - **Move**: `dot_config/dotfiles` -> `dot_config/shell`.
20
28
  - **Reason**: `dotfiles` is redundant inside a dotfiles repo. `shell` describes the content (aliases, paths, functions).
21
29
  - **Update**: Update references in `dot_zshrc.tmpl` and install scripts.
22
30
 
23
31
  ### [REFACTOR] Script Installation
32
+
24
33
  - **Move**: `bin/` -> `dot_local/bin/`.
25
34
  - **Reason**: Ensures scripts are automatically installed to `~/.local/bin` (user PATH).
26
35
 
27
36
  ### [CLEANUP] Remove Legacy Files
37
+
28
38
  - **Delete**: `Makefile`, `package.json`.
29
39
  - **Reason**: Replaced by `chezmoi` and GitHub Actions.
30
40
 
31
41
  ### [REFACTOR] Script Segregation
42
+
32
43
  - **Split**: `run_onchange_install_packages.sh.tmpl` into:
33
- - `run_onchange_darwin_install-packages.sh.tmpl` (Homebrew)
34
- - `run_onchange_linux_install-packages.sh.tmpl` (Apt)
35
- - `run_onchange_after_install-vim-plug.sh.tmpl` (Universal)
44
+ - `run_onchange_darwin_install-packages.sh.tmpl` (Homebrew)
45
+ - `run_onchange_linux_install-packages.sh.tmpl` (Apt)
46
+ - `run_onchange_after_install-vim-plug.sh.tmpl` (Universal)
36
47
  - **Reason**: Improves readability and maintainability.
37
48
 
38
49
  # Phase 18: Component Documentation Polish [COMPLETED]
39
50
 
40
51
  ## Goal
52
+
41
53
  Update component documentation (`aliases`, `functions`, `paths`) to match the new `chezmoi` architecture and ensure accuracy.
42
54
 
43
55
  ## Changes
56
+
44
57
  - **Aliases**: Updated `aliases/README.md` to explain modular `*.aliases.sh` loading.
45
58
  - **Functions**: Updated `functions/README.md` to remove legacy install instructions.
46
59
  - **Paths**: Updated `paths/README.md` to clarify precedence and `chezmoi` integration.
@@ -49,10 +62,13 @@ Update component documentation (`aliases`, `functions`, `paths`) to match the ne
49
62
  # Phase 19: Toolchain Expansion [COMPLETED]
50
63
 
51
64
  ## Goal
65
+
52
66
  Add comprehensive support for modern DevOps/Cloud engineering tools.
53
67
 
54
68
  ## Proposed Changes
69
+
55
70
  ### [NEW] Aliases
71
+
56
72
  - **Kubernetes**: `kubectl` shortcuts (`k`), `helm`, `k9s`.
57
73
  - **IaC**: `terraform` (`tf`), `opentofu`, `ansible`.
58
74
  - **Languages**: `go` (`g`), `yarn`, `uv` (modern Python).
@@ -62,28 +78,36 @@ Add comprehensive support for modern DevOps/Cloud engineering tools.
62
78
  # Phase 20: Intelligent Assistance [COMPLETED]
63
79
 
64
80
  ## Goal
81
+
65
82
  Integrate AI capabilities and improved help systems.
66
83
 
67
84
  ## Proposed Changes
85
+
68
86
  ### [NEW] Functions
87
+
69
88
  - **`dothelp`**: Index and search all aliases/functions with descriptions.
70
89
  - **AI Wrappers**: Aliases for `gh copilot`, `fabric`, or generic LLM CLI tools.
71
90
 
72
91
  # Phase 22: Automated Testing [COMPLETED]
73
92
 
74
93
  ## Goal
94
+
75
95
  Verify the dotfiles work on clean Linux environments.
76
96
 
77
97
  ## Proposed Changes
98
+
78
99
  ### [CI] GitHub Actions
100
+
79
101
  - **Container Job**: Run `chezmoi init --apply` inside a localized Docker container (Ubuntu/Fedora) to prove universal compatibility.
80
102
 
81
103
  # Phase 23: Enterprise Core & Security (The Trust Layer) [COMPLETED]
82
104
 
83
105
  ## Goal
106
+
84
107
  Establish a "Trust Layer" for the dotfiles ecosystem, ensuring supply chain security and configuration integrity.
85
108
 
86
109
  ## Changes
110
+
87
111
  - **SLSA & SBOM**: Implemented `security-release.yml` for provenance and SBOM generation.
88
112
  - **Signing**: Created `enable-signing` wizard alias for streamlined GPG/SSH configuration.
89
113
  - **Immutability**: Created `lock-configs.sh` script and `lock-configs`/`unlock-configs` aliases.
@@ -93,18 +117,22 @@ Establish a "Trust Layer" for the dotfiles ecosystem, ensuring supply chain secu
93
117
  # Phase 27: Self-Healing & Diagnostics [COMPLETED]
94
118
 
95
119
  ## Goal
120
+
96
121
  Enable the system to self-diagnose and repair configuration drift.
97
122
 
98
123
  ## Changes
124
+
99
125
  - **Scripts**: Created `scripts/diagnostics/doctor.sh` for system health checks.
100
126
  - **Aliases**: Added `dot doctor`, `dot drift` (`chezmoi verify`), and `dot heal` (`chezmoi apply`).
101
127
 
102
128
  # Phase 51: Regulatory Compliance [COMPLETED]
103
129
 
104
130
  ## Goal
131
+
105
132
  Document and enforce compliance with SOC2, ISO, and GDPR standards.
106
133
 
107
134
  ## Changes
135
+
108
136
  - **Documentation**: Created `COMPLIANCE.md` with control mappings.
109
137
  - **Privacy**: Added `privacy-mode` alias to disable CLI telemetry.
110
138
  - **Audit**: Added `dot audit` alias for tracking changes.
@@ -112,16 +140,20 @@ Document and enforce compliance with SOC2, ISO, and GDPR standards.
112
140
  # Phase 54: macOS Deep Integration [COMPLETED]
113
141
 
114
142
  ## Goal
143
+
115
144
  Harden and optimize the macOS environment via code.
116
145
 
117
146
  ## Changes
147
+
118
148
  - **Defaults**: Created `run_onchange_darwin_defaults.sh.tmpl` to apply secure/optimized `defaults`.
119
149
  - **Hardening**: Enabled screensaver passwords, firewall settings, and disabled guest access.
120
150
 
121
151
  ## Goal
152
+
122
153
  Ensure legal compliance and proper attribution for the open-source project.
123
154
 
124
155
  ## Changes
156
+
125
157
  - **Licensing**: Added `scan-licenses` alias (Trivy/FOSSology).
126
158
  - **Headers**: Added `add-headers` alias for automated copyright insertion.
127
159
  - **Compliance**: Added `check-cla` and `gen-notice` tools.
@@ -129,9 +161,11 @@ Ensure legal compliance and proper attribution for the open-source project.
129
161
  # Phase 59: Font Typography [COMPLETED]
130
162
 
131
163
  ## Goal
164
+
132
165
  Standardize typography and ensure high-quality font rendering across all environments.
133
166
 
134
167
  ## Proposed Changes
168
+
135
169
  - **Nerd Fonts**: Automate installation of `JetBrainsMono Nerd Font` and `Symbols Nerd Font`.
136
170
  - **Fontconfig**: Deploy XML configuration for Linux font rendering (antialiasing, hinting).
137
171
  - **Aliases**: `update-fonts` to refresh font caches (`fc-cache`).
@@ -139,9 +173,11 @@ Standardize typography and ensure high-quality font rendering across all environ
139
173
  # Phase 26: OS Bundling & Compliance [COMPLETED]
140
174
 
141
175
  ## Goal
176
+
142
177
  Prepare the dotfiles for system-wide deployment and ensure strict adherence to standards.
143
178
 
144
179
  ## Proposed Changes
180
+
145
181
  - **XDG Compliance**: Audit `00-default.paths.sh` to ensure all standard XDG variables are exported.
146
182
  - **Vendor Hooks**: Update `dot_zshrc.tmpl` to source system-level overrides from `/etc/dotfiles/defaults.d/` (Simulates "site-local" config).
147
183
  - **Bundling**: Create `scripts/core/package.sh` to create a distributable tarball and scaffold `.deb`/`.pkg` generation logic.
@@ -149,13 +185,15 @@ Prepare the dotfiles for system-wide deployment and ensure strict adherence to s
149
185
  # Phase 24: The Universal Installer (Zero-Dependency) [COMPLETED]
150
186
 
151
187
  ## Goal
188
+
152
189
  Provide a frictionless, "one-curl" onboarding experience and capabilities to deploy configurations remotely.
153
190
 
154
191
  ## Proposed Changes
192
+
155
193
  - **install.sh**: A standalone, zero-dependency bash script that:
156
- 1. Detects OS/Arch.
157
- 2. Installs `chezmoi` (binary or via package manager).
158
- 3. Initializes the dotfiles repo.
159
- 4. Runs `chezmoi apply`.
160
- 5. Uses ANSI colors for a polished "TUI" feel.
194
+ 1. Detects OS/Arch.
195
+ 2. Installs `chezmoi` (binary or via package manager).
196
+ 3. Initializes the dotfiles repo.
197
+ 4. Runs `chezmoi apply`.
198
+ 5. Uses ANSI colors for a polished "TUI" feel.
161
199
  - **Teleportation**: `scripts/ops/teleport.sh` using `chezmoi archive` piped to SSH to ephemeralize configs on remote servers (e.g., `dot teleport user@server`).
@@ -1,9 +1,15 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+
1
5
  # Repo Audit
2
6
 
3
7
  ## Source of truth
8
+
4
9
  - `~/.dotfiles` (chezmoi source directory)
5
10
 
6
11
  ## Key directories
12
+
7
13
  - `.chezmoitemplates/` - templated aliases, functions, paths
8
14
  - `dot_config/` - configs mapped into `~/.config`
9
15
  - `dot_local/` - binaries and local data (e.g., `dot` CLI)
@@ -12,6 +18,7 @@
12
18
  - `nix/` - optional Nix toolchain
13
19
 
14
20
  ## Notable dependencies
21
+
15
22
  - `chezmoi`
16
23
  - `zsh`, `starship`
17
24
  - `neovim`
@@ -19,5 +26,6 @@
19
26
  - `lazygit`
20
27
 
21
28
  ## Notes
29
+
22
30
  - Repo-only files excluded via `.chezmoiignore`.
23
31
  - Secrets are handled via `age` + `dot secrets` (see `docs/SECRETS.md`).
@@ -1,3 +1,7 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+
1
5
  # Install
2
6
 
3
7
  Set up on macOS, Linux, or WSL in 3 to 5 minutes.
@@ -1,6 +1,11 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+
1
5
  # Neovim
2
6
 
3
7
  ## Modern Core
8
+
4
9
  - **Requirement**: Neovim >= 0.11.2. The config checks this at startup.
5
10
  - **Configuration**: Modular, lazy-loaded configuration based on `lazy.nvim`.
6
11
  - **Completion**: `blink.cmp` for fast, keystroke-level completion with LSP, snippets, and path sources.
@@ -8,15 +13,18 @@
8
13
  - **LSP**: Full LSP support for diagnostics, code actions, and more, managed by `mason.nvim`.
9
14
 
10
15
  ## Language Support
16
+
11
17
  - **Rust**: Out-of-the-box support with `rustaceanvim`.
12
18
  - **Python**: Full support with `basedpyright`, `ruff`, and `venv-selector`.
13
19
  - **Web**: Support for web development with `prettier` and `eslint`.
14
20
 
15
21
  ## AI Integration
22
+
16
23
  - **Copilot**: `copilot.lua` for code completion. Run `:Copilot auth` to sign in.
17
24
  - **Copilot Chat**: AI sidebar for asking questions and getting help (`<leader>cc`).
18
25
 
19
26
  ## VS Code Parity
27
+
20
28
  - **Problem Panel**: `trouble.nvim` for a VS Code-like problems panel (`<leader>xx`).
21
29
  - **Search & Replace**: `nvim-spectre` for project-wide search and replace (`<leader>S`).
22
30
  - **Auto-Pairs**: Automatically closes brackets and pairs (via `blink.cmp` auto-brackets).
@@ -25,6 +33,7 @@
25
33
  - **Snippets**: Native `vim.snippet` engine (Neovim 0.11+).
26
34
 
27
35
  ## Keybindings
36
+
28
37
  | Key | Action |
29
38
  | --- | --- |
30
39
  | `<Space>ff` | Find Files |
@@ -1,3 +1,8 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+ {% raw %}
5
+
1
6
  # Theming Guide
2
7
 
3
8
  The dotfiles ship a wallpaper-driven theme system that generates terminal color palettes directly from wallpaper images using K-Means clustering in CIELAB color space. One command changes the terminal, editor, window manager, GTK, desktop environment, wallpaper, and browser-facing color mode in under a second.
@@ -109,6 +114,7 @@ dot theme rebuild --list # List discovered wallpapers without rebuilding
109
114
  Theme switching is a two-tier system:
110
115
 
111
116
  **Core (always works)** — ships in the repo, no setup needed:
117
+
112
118
  - Terminal colors (Ghostty, Alacritty, Kitty, WezTerm, tmux)
113
119
  - Editor themes (Neovim colorscheme, VS Code)
114
120
  - macOS dark/light mode and accent color
@@ -116,6 +122,7 @@ Theme switching is a two-tier system:
116
122
  - Browser color mode (Safari, Chrome, Firefox)
117
123
 
118
124
  **Wallpapers (optional)** — user-provided, enhances the theme:
125
+
119
126
  - Desktop wallpaper matched to the active theme
120
127
  - Requires `~/Pictures/Wallpapers/` with files named `macos-NAME-dark.heic`
121
128
 
@@ -220,3 +227,4 @@ grep '^theme = ' ~/.dotfiles/.chezmoidata.toml
220
227
  ```
221
228
 
222
229
  This prints the current theme name. Cross-reference with `dot theme list` for available options.
230
+ {% endraw %}
@@ -1,3 +1,7 @@
1
+ ---
2
+ render_with_liquid: false
3
+ ---
4
+
1
5
  # Troubleshooting
2
6
 
3
7
  Quick checks for common issues.
@@ -5,17 +9,20 @@ Quick checks for common issues.
5
9
  ## Install and update
6
10
 
7
11
  **Problem:** Install script fails immediately
12
+
8
13
  - Verify that `git` and `curl` are installed.
9
14
  - Check internet connectivity.
10
15
  - Try running with verbose output: `bash -x install.sh`
11
16
 
12
17
  **Problem:** Chezmoi apply fails
18
+
13
19
  - Re-run `chezmoi apply` to re-sync state.
14
20
  - Check for merge conflicts: `chezmoi diff`
15
21
  - If hooks fail, check `~/.local/share/dotfiles.log` for details.
16
22
  - For non-interactive sessions, force apply to avoid TTY prompts: `DOTFILES_NONINTERACTIVE=1 dot apply --force`
17
23
 
18
24
  **Problem:** Packages fail to install
25
+
19
26
  - macOS: Verify Homebrew is installed and up to date (`brew update`)
20
27
  - Linux: Run `sudo apt-get update` first
21
28
  - Verify you have sufficient permissions
@@ -23,22 +30,26 @@ Quick checks for common issues.
23
30
  ## Shell startup
24
31
 
25
32
  **Problem:** Shell is slow to start
33
+
26
34
  - Run `dot benchmark` to measure startup time
27
35
  - Profile with `zsh -x` to trace startup
28
36
  - Check for slow plugins or large history files
29
37
 
30
38
  **Problem:** Aliases or functions not available
39
+
31
40
  - Run `chezmoi apply` to regenerate config files
32
41
  - Source your shell config: `source ~/.zshrc`
33
42
  - Verify the relevant tool is installed
34
43
 
35
44
  **Problem:** `dot doctor` prints a directory listing instead of diagnostics
45
+
36
46
  - This usually means `dot` was shadowed by a navigation alias in the current shell session.
37
47
  - Check resolution: `type -a dot`
38
48
  - Fix current session: `unalias dot 2>/dev/null || true && exec zsh`
39
49
  - Validate after reload: `dot doctor`
40
50
 
41
51
  **Problem:** Zsh reports it cannot write `.zwc` files
52
+
42
53
  - Cause: stale read-only zsh cache files after an upgrade.
43
54
  - Remove stale caches:
44
55
  - `find ~/.config/shell ~/.config/zsh -type f -name '*.zwc' -delete`
@@ -46,6 +57,7 @@ Quick checks for common issues.
46
57
  - Re-run health checks: `dot doctor`
47
58
 
48
59
  **Problem:** Shell crashes on startup
60
+
49
61
  - Temporarily move `~/.zshrc` and retry to isolate the fault
50
62
  - Check for syntax errors: `zsh -n ~/.zshrc`
51
63
  - Review recent changes: `chezmoi diff`
@@ -53,22 +65,26 @@ Quick checks for common issues.
53
65
  ## Secrets and encryption
54
66
 
55
67
  **Problem:** Encrypted files fail to decrypt
68
+
56
69
  - Confirm `~/.config/chezmoi/key.txt` exists.
57
70
  - Verify the key matches the one used for encryption.
58
71
  - Re-initialize with `dot secrets-init` if needed.
59
72
 
60
73
  **Problem:** Age encryption not working
74
+
61
75
  - Verify `age` is installed: `command -v age`
62
76
  - Check key permissions: `ls -la ~/.config/chezmoi/key.txt` (should be 600)
63
77
 
64
78
  ## Neovim
65
79
 
66
80
  **Problem:** Plugins fail to load
81
+
67
82
  - Run `:checkhealth` in Neovim
68
83
  - Update plugins: `:Lazy sync`
69
84
  - Check for missing dependencies (node, python, etc.)
70
85
 
71
86
  **Problem:** LSP not working
87
+
72
88
  - Install required language servers
73
89
  - Check `:LspInfo` for status
74
90
  - Review `:LspLog` for errors
@@ -76,21 +92,25 @@ Quick checks for common issues.
76
92
  ## Git
77
93
 
78
94
  **Problem:** Git aliases not working
95
+
79
96
  - Check if Git config is applied: `git config --list`
80
97
  - Re-apply dotfiles: `chezmoi apply`
81
98
 
82
99
  **Problem:** Delta (diff pager) not showing colors
100
+
83
101
  - Verify `delta` is installed
84
102
  - Confirm your terminal supports 256 colors
85
103
 
86
104
  ## Kubernetes tools
87
105
 
88
106
  **Problem:** kubectl context issues
107
+
89
108
  - List contexts: `kubectl config get-contexts`
90
109
  - Switch context: `kubectx <context-name>`
91
110
  - Check kubeconfig: `echo $KUBECONFIG`
92
111
 
93
112
  **Problem:** Minikube won't start
113
+
94
114
  - Verify Docker is running
95
115
  - Try: `minikube delete && minikube start`
96
116
  - Check logs: `minikube logs`
@@ -98,6 +118,7 @@ Quick checks for common issues.
98
118
  ## Performance
99
119
 
100
120
  **Problem:** High memory usage
121
+
101
122
  - Look for runaway processes: `htop` or `btop`
102
123
  - Review shell history size in atuin config
103
124
  - Disable unused plugins
@@ -105,21 +126,26 @@ Quick checks for common issues.
105
126
  ## Common infrastructure failures
106
127
 
107
128
  **Problem:** Nix isn't installed or commands not found
129
+
108
130
  - Ensure you have followed the installation guide: `curl -L https://nixos.org/nix/install | sh`
109
131
  - On Linux, you might need to enable experimental features in `~/.config/nix/nix.conf`:
110
132
  `experimental-features = nix-command flakes`
111
133
  - Verify the daemon is running: `ps aux | grep nix-daemon`
112
134
 
113
135
  **Problem:** Systemd isn't available (mostly WSL2)
136
+
114
137
  - Dotfiles functions that rely on systemd (like `pueue` management) will fallback to direct execution.
115
138
  - To enable systemd in WSL2, add this to `/etc/wsl.conf` (requires Windows 11 or latest WSL):
139
+
116
140
  ```ini
117
141
  [boot]
118
142
  systemd=true
119
143
  ```
144
+
120
145
  - Restart WSL: `wsl.exe --shutdown`
121
146
 
122
147
  **Problem:** GPG or SSH signing fails
148
+
123
149
  - Check if your key is present: `gpg --list-secret-keys` or `ssh-add -l`
124
150
  - Ensure `GPG_TTY` is set (dotfiles does this automatically in `rc.d`).
125
151
  - For hardware keys (Yubikey), ensure `pcscd` is running on Linux.
@@ -132,6 +158,7 @@ For complex WSL2 edge cases, Nix integration problems, and recovery procedures,
132
158
  **[WSL2 & Nix Troubleshooting Guide](WSL2_NIX_TROUBLESHOOTING.md)**
133
159
 
134
160
  This guide covers:
161
+
135
162
  - WSL2 filesystem and networking edge cases
136
163
  - Nix installation and flake management issues
137
164
  - Complete system recovery procedures
@@ -141,6 +168,7 @@ This guide covers:
141
168
  ## Still stuck
142
169
 
143
170
  Open an issue with:
171
+
144
172
  - OS + version
145
173
  - Output of `dot doctor` (if available)
146
174
  - Relevant log snippets from `~/.local/share/dotfiles.log`