NixOS # troubleshooting & issues ## nix errors nix errors can be tricky to diagnose, but the below might assist in diagnosing the issue. > [!TIP] > rerun the command with `-v` to get more verbose output. > you can also rerun the command with `--show-trace` to get a more detailed traceback. > if the nix error is not clear, often the correct error message is somewhere in the *middle* of the error message. ## system errors & bugs the following information is required when creating an issue, please provide as much as possible. it's also possible to diagnose issues yourself with the information below. 1. **system logs** ```bash journalctl -b # System logs sudo systemctl status home-manager-$HOSTNAME.service # Home-manager status ``` 2. **system information** ```bash nix-shell -p nix-info --run "nix-info -m" ```