You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/book/usage.md
+62-5
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,69 @@
1
1
# Usage
2
2
For all the modules options take a look [here](modules/index.md).
3
-
And there is a quite elaborate example [here](https://github.com/Janik-Haag/nixos-dns/tree/main/example), you can also use it as a template by doing: `nix flake init -t github:Janik-Haag/nixos-dns`.
3
+
There is a quite elaborate example [here](https://github.com/Janik-Haag/nixos-dns/tree/main/example), you can also use it as a template (`nix flake init -t github:Janik-Haag/nixos-dns`).
4
4
5
-
## classic
5
+
## classical nix
6
6
7
-
There is a `default.nix` in the project root with `flake-compat`, I was told that it should be enough to use it in a classical NixOS environment, but have no idea how to do so (probably adding a channel?).
8
-
This would probably be a easy contribution if you are more familiar.
7
+
Please note that the following code uses colmena to retrieve the DNS information from the hosts configurations, and npins for version pinning.
8
+
You can of course use nixos-dns without colmena, you'll just have to figure out how to reference nixosConfigurations.
0 commit comments