Setup mail server and restructure some things
This commit is contained in:
parent
fa3db3bad6
commit
4a802ab44d
90 changed files with 512 additions and 66 deletions
14
config/hosts/iperf/configuration.nix
Normal file
14
config/hosts/iperf/configuration.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "iperf";
|
||||
firewall.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
7
config/hosts/iperf/default.nix
Normal file
7
config/hosts/iperf/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./iperf.nix
|
||||
];
|
||||
}
|
7
config/hosts/iperf/iperf.nix
Normal file
7
config/hosts/iperf/iperf.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.iperf3 = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue