Skip to content

Commit

Permalink
docs: specify how to use leng for local nameserver resolution in NixOS (
Browse files Browse the repository at this point in the history
  • Loading branch information
cottand authored Nov 30, 2024
1 parent b2aa2c2 commit 0e1c65d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/src/Nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ Add the following inside your configuration.nix:
}
```

### Using leng for local DNS

If you want to use leng to resolve the DNS queries of the machine you are installing it on, you should
also add it to the local nameservers:

```nix
networking.nameservers = [ "127.0.0.1" ];
```


## Developing

The flake's development shell simply includes Go 1.21+ and a [fish](https://fishshell.com/) shell. You can enter it with `nix develop`.
Expand Down

0 comments on commit 0e1c65d

Please sign in to comment.