From d549ba8e37646c32514c5b1ff5784b87d4486042 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Wed, 7 Aug 2024 00:07:45 +0200 Subject: [PATCH] Fixes --- docs/wiki/ddns/njalla/index.md | 4 ++-- docs/wiki/vpn/ports/index.md | 14 +++++++------- mkDocs.nix | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/wiki/ddns/njalla/index.md b/docs/wiki/ddns/njalla/index.md index 5f93e5c..149e473 100644 --- a/docs/wiki/ddns/njalla/index.md +++ b/docs/wiki/ddns/njalla/index.md @@ -4,13 +4,13 @@ title: DDNS Using Njalla Go to your domain on njalla: -![Njalla Domain](/docs/wiki/ddns/njalla/domain.png) +![Njalla Domain](domain.png) Then press "Add record", select "Dynamic" and write your subdomain in the input box. It should now be added to your records. Click on the record, you should now see something like the following: -![Njalla Record](/docs/wiki/ddns/njalla/record.png) +![Njalla Record](record.png) Given this, your JSON file should contain the following: diff --git a/docs/wiki/vpn/ports/index.md b/docs/wiki/vpn/ports/index.md index 60959da..0473482 100644 --- a/docs/wiki/vpn/ports/index.md +++ b/docs/wiki/vpn/ports/index.md @@ -4,18 +4,18 @@ title: Opening Ports In order to open a port through a VPN you need to open a port with your VPN-provider. -> **Note:** Not all VPN-providers support this feature! Notably, Mullvad does not anymore! +**Note:** Not all VPN-providers support this feature! Notably, Mullvad does not anymore! -> **Note:** The port present in the -> [nixarr.vpn.wgConf](https://nixarr.com/options.html#nixarr.vpn.wgconf), -> should not be used for any options! +**Note:** The port present in the + [nixarr.vpn.wgConf](https://nixarr.com/options.html#nixarr.vpn.wgconf), + should not be used for any options! ## AirVPN Go to the [ports page](https://airvpn.org/ports/) at AirVPN's website open a port. After opening it should look like this: -![An open port on AirVPN, the port number that should be used in Nixarr is 12345.](./airvpn.png) +![An open port on AirVPN, the port number that should be used in Nixarr is 12345.](airvpn.png) Then you can set that port for a service, for example @@ -30,10 +30,10 @@ Then you can set that port for a service, for example ## Debugging Ports You can debug an open port using the -`[vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable)`. +[nixarr.vpn.vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable). If the DNS and IP checks out, it will open a `netcat` instance on the port specified in -`[vpnTestService.port](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.port)`. +[nixarr.vpn.vpnTestService.port](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.port). You can then run: ```sh diff --git a/mkDocs.nix b/mkDocs.nix index f03faa2..5136483 100644 --- a/mkDocs.nix +++ b/mkDocs.nix @@ -26,7 +26,7 @@ in tmpdir=$(mktemp -d) mkdir -p $out - cp -r docs $out + cp -r docs docs/wiki $out # Generate md docs cat ${optionsDocNixos.optionsCommonMark} > "$tmpdir"/nixos-options.md