Add iperf host

This commit is contained in:
fi 2023-07-26 01:49:39 +02:00
parent c4795cdef9
commit 10de1e428a
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
4 changed files with 40 additions and 9 deletions

View file

@ -0,0 +1,14 @@
{ ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
networking = {
hostName = "iperf";
firewall.enable = false;
};
system.stateVersion = "23.05";
}

7
hosts/iperf/default.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./configuration.nix
./iperf.nix
];
}

7
hosts/iperf/iperf.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
services.iperf3 = {
enable = true;
openFirewall = true;
};
}