first
This commit is contained in:
30
docs/troubleshooting.md
Normal file
30
docs/troubleshooting.md
Normal file
@@ -0,0 +1,30 @@
|
||||
<img align="right" width="75px" alt="NixOS" src="https://github.com/HyDE-Project/HyDE/blob/master/Source/assets/nixos.png?raw=true"/>
|
||||
|
||||
# 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"
|
||||
```
|
||||
Reference in New Issue
Block a user