updated readme

This commit is contained in:
rasmus-kirk
2024-03-04 18:53:07 +01:00
parent fd51b9a783
commit 48dec7ec76
2 changed files with 16 additions and 7 deletions
+14 -5
View File
@@ -57,11 +57,13 @@ The documentation for the options can be found
## The Wiki ## The Wiki
If you want to know how to setup DDNS with Njalla, or how to manage secrets in nix, check out the [wiki](https://nixarr.rasmuskirk.com/wiki/) If you want to know how to setup DDNS with Njalla, or how to manage secrets
in nix, check out the [wiki](https://nixarr.rasmuskirk.com/wiki/)
## Importing this module ## Importing this module
To use this module, add it to your flake inputs in your nix flake file, like shown in this example flake: To use this module, add it to your flake inputs in your nix flake file,
like shown in this example flake:
```nix {.numberLines} ```nix {.numberLines}
{ {
@@ -228,11 +230,18 @@ through `localhost:6006`.
Another solution is to use [tailscale](https://tailscale.com/) or to setup Another solution is to use [tailscale](https://tailscale.com/) or to setup
your own VPN [manually with wireguard](https://nixos.wiki/wiki/WireGuard). your own VPN [manually with wireguard](https://nixos.wiki/wiki/WireGuard).
## VPN Providers ## VPN Providers
Your VPN-provider must support wg-quick configuration files, this should be most of them. I know that Mullvad and AirVPN has support. It's also _recommended_ that the VPN you're using has support for port forwarding. I Your VPN-provider should at the very least support wg-quick configurations,
suggest [AirVpn](https://airvpn.org/), since they accept Monero, but you can this module does not, and will not, support any other setup. Most VPN-providers
use whatever you want. should support this ATM.
Secondly, it's recommended that the VPN you're using has support for _static_
port forwarding as this module has no builtin support for dynamic port
forwarding. I suggest [AirVpn](https://airvpn.org/), since they support
static port forwarding, support wg-quick configurations and accept Monero,
but you can use whatever you want.
## Domain Registrars ## Domain Registrars
+2 -2
View File
@@ -273,8 +273,8 @@ in {
then pkgs.flood-for-transmission then pkgs.flood-for-transmission
else null; else null;
package = pkgs.transmission_4; package = pkgs.transmission_4;
openRPCPort = true; openRPCPort = false;
openPeerPorts = true; openPeerPorts = if cfg.vpn.enable then false else true;
settings = settings =
{ {
download-dir = downloadDir; download-dir = downloadDir;