aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/by-name/server2/configuration.nix9
-rw-r--r--hosts/by-name/server3/configuration.nix9
2 files changed, 18 insertions, 0 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix
index c373d28..b7b868f 100644
--- a/hosts/by-name/server2/configuration.nix
+++ b/hosts/by-name/server2/configuration.nix
@@ -26,6 +26,15 @@
privatePassword = ./secrets/backup/backuppass.age;
user = "u384702-sub3";
};
+ dns = {
+ enable = true;
+ openFirewall = true;
+ interfaces = [
+ "185.16.61.132"
+ "2a03:4000:a:106::1"
+ ];
+ zones = import ../../../zones/vhack.eu/zone.nix {};
+ };
etesync = {
enable = true;
secretFile = ./secrets/etesync/secret_file.age;
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix
index d819e81..e18d055 100644
--- a/hosts/by-name/server3/configuration.nix
+++ b/hosts/by-name/server3/configuration.nix
@@ -11,6 +11,15 @@
privatePassword = ./secrets/backup/backuppass.age;
user = "u384702-sub4";
};
+ dns = {
+ enable = true;
+ openFirewall = true;
+ interfaces = [
+ "92.60.38.179"
+ "2a03:4000:33:25b::4f4e"
+ ];
+ zones = import ../../../zones/vhack.eu/zone.nix {};
+ };
fail2ban.enable = true;
nix-sync = {
enable = true;