refactor: standardize hetzner machines
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
6289ac038f
commit
beee7044fa
3 changed files with 207 additions and 78 deletions
|
|
@ -5,13 +5,8 @@
|
|||
{
|
||||
_module.args.disks = [ "/dev/sda" ];
|
||||
}
|
||||
|
||||
../common/servers
|
||||
];
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
networking.hostName = "hosting-02";
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
|
|
@ -31,12 +26,6 @@
|
|||
addRouteTablesToIPRoute2 = true;
|
||||
};
|
||||
|
||||
systemd.network.networks."30-wan" = {
|
||||
address = [
|
||||
"2a01:4f8:c013:7fc0::/64"
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services."netns@" = {
|
||||
description = "Network namespace %i";
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue