···1919```bash
2020nod daemon
2121```
2222-By default, it listens on `/tmp/nix-observability.sock` and stores data in `nix-obs.db`.
2222+By default, it listens on `/run/nod/nod.sock` and stores data in `/var/lib/nod/nod.db`.
2323+Manual setup requires write permissions for the socket.
23242425Then configure nix to output detailed trace logs to the socket.
25262627Add the following to your `nix.conf` (usually `/etc/nix/nix.conf` or `~/.config/nix/nix.conf`):
2728```text
2828-json-log-path = /tmp/nix-observability.sock
2929+json-log-path = /run/nod/nod.sock
3030+```
3131+3232+### nixos
3333+3434+Add the flake to your inputs and use the provided module:
3535+3636+```nix
3737+services.nod.enable = true;
2938```
3030-*Note: Ensure the Nix process has permissions to write to the socket.*
3939+This handles the socket path, permissions, and `nix.conf` automatically.
31403241Just use Nix as usual:
3342```bash