From 96b415ee41aa4580a7771d08e354bf4800e04749 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 2 Jan 2024 07:02:01 +0530 Subject: kay/iperf3: init --- hosts/kay/modules/iperf3.nix | 8 ++++++++ hosts/kay/modules/router.nix | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 hosts/kay/modules/iperf3.nix (limited to 'hosts/kay/modules') 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 = { -- cgit v1.2.3