docs: add TROUBLESHOOTING.md for the five common rebuild errors
Covers: option-already-declared (duplicate mkOption), attribute-missing (forgot to import nomarchy.nixosModules.system), Stylix target conflict (needs lib.mkForce, not bare bool), home-manager .hm-bak churn (left over from backupFileExtension after first install), and impermanence path missing (dir not in environment.persistence list). Each entry has the literal error text, the cause, and a copy-paste fix. Linked from README.md and docs/MIGRATION.md so users hit it before guessing.
This commit is contained in:
@@ -83,7 +83,7 @@ Add user-level packages, aliases, and dotfiles here.
|
||||
nomarchy.home.terminal = "kitty";
|
||||
```
|
||||
|
||||
For the full list of `nomarchy.*` options you can set in `system.nix` and `home.nix`, see the [Options Reference](docs/OPTIONS.md). For where the project is heading next, see the [Roadmap](docs/ROADMAP.md).
|
||||
For the full list of `nomarchy.*` options you can set in `system.nix` and `home.nix`, see the [Options Reference](docs/OPTIONS.md). Hit a rebuild error? Check [Troubleshooting](docs/TROUBLESHOOTING.md). For where the project is heading next, see the [Roadmap](docs/ROADMAP.md).
|
||||
|
||||
### Applying Changes
|
||||
After editing your files, apply them instantly. **IMPORTANT:** Nomarchy requires the `--impure` flag for evaluation. You **MUST** use the following aliases rather than standard NixOS commands:
|
||||
|
||||
Reference in New Issue
Block a user