diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-10 19:49:37 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-10 19:51:13 +0100 |
commit | 6e26789f330fe34df54b56f06ba095ece4bd7128 (patch) | |
tree | 8a749ddffac6bd792a104ff309073f6d880d5e2c /hosts/by-name | |
parent | {modules/system-info,scripts/system_info}: Init (diff) | |
download | nixos-server-6e26789f330fe34df54b56f06ba095ece4bd7128.zip |
{hosts,zones}: Init dns zone for vhack.eu
Diffstat (limited to 'hosts/by-name')
-rw-r--r-- | hosts/by-name/server2/configuration.nix | 9 | ||||
-rw-r--r-- | hosts/by-name/server3/configuration.nix | 9 |
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; |