Add internal IPv6 hosts, change postgresql listen addrs
Change-Id: If37d8d9e2f2f9d99aba69f3720b825f0dfd68b12
Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/45
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/common/networking.nix b/modules/common/networking.nix
index a19223c..1c8c029 100644
--- a/modules/common/networking.nix
+++ b/modules/common/networking.nix
@@ -3,11 +3,16 @@
[ 80 443 25 465 587 110 995 143 993 29418 ];
networking.hosts = {
+ # Internal IPv4
"127.0.0.1" = [ "standard" ];
"127.0.0.2" = [ "clicks" ];
"127.0.0.3" = [ "caramels" ];
"127.0.0.255" = [ "generic" ];
+ # Internal IPv6
+ "[::1]" = [ "standard" ];
+
+ # External
"192.168.0.4" = [ "CodedPi" ];
"192.168.0.5" = [ "SamuelDesktop" ];
"192.168.0.6" = [ "d2.a1.clicks" "a1d2.clicks" "a1d2" ];