diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-02 07:02:01 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-02 07:02:01 +0530 |
commit | 96b415ee41aa4580a7771d08e354bf4800e04749 (patch) | |
tree | a062958a3919f3997dbeeebc15968ee6c7d30452 /hosts/kay | |
parent | c8a3e45ae7c99cf20168df4d1cf5ff45e3eedaa3 (diff) |
kay/iperf3: init
Diffstat (limited to 'hosts/kay')
-rw-r--r-- | hosts/kay/modules/iperf3.nix | 8 | ||||
-rw-r--r-- | hosts/kay/modules/router.nix | 5 |
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 = { |