summaryrefslogtreecommitdiff
path: root/hosts/kay
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/kay')
-rw-r--r--hosts/kay/modules/iperf3.nix8
-rw-r--r--hosts/kay/modules/router.nix5
2 files changed, 12 insertions, 1 deletions
diff --git a/hosts/kay/modules/iperf3.nix b/hosts/kay/modules/iperf3.nix
new file mode 100644
index 0000000..62f9412
--- /dev/null
+++ b/hosts/kay/modules/iperf3.nix
@@ -0,0 +1,8 @@
+{ ... }:
+
+{
+ services.iperf3 = {
+ enable = true;
+ openFirewall = true;
+ };
+}
diff --git a/hosts/kay/modules/router.nix b/hosts/kay/modules/router.nix
index b644e94..2fd2f29 100644
--- a/hosts/kay/modules/router.nix
+++ b/hosts/kay/modules/router.nix
@@ -10,7 +10,10 @@ let
leaseRangeEnd = "10.0.0.254";
in
{
- imports = [ ./wireguard.nix ];
+ imports = [
+ ./wireguard.nix
+ ./iperf3.nix
+ ];
networking = {
nat = {