Add iperf host

This commit is contained in:
yuri 2023-07-26 01:49:39 +02:00
parent fc50e78610
commit 2673483143
4 changed files with 40 additions and 9 deletions

View file

@ -9,6 +9,15 @@
outputs = { self, nixpkgs, nixos-generators, ... }: { outputs = { self, nixpkgs, nixos-generators, ... }: {
hosts = { hosts = {
hydra = {
site = "vs";
};
iperf = {
site = "vs";
};
jackett = {
site = "vs";
};
nitter = { nitter = {
site = "vs"; site = "vs";
}; };
@ -18,12 +27,6 @@
tor-relay = { tor-relay = {
site = "vs"; site = "vs";
}; };
jackett = {
site = "vs";
};
hydra = {
site = "vs";
};
web-public-2 = { web-public-2 = {
site = "vs"; site = "vs";
}; };

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;
};
}