Compare commits

...

8 Commits

3 changed files with 38 additions and 2 deletions

View File

@@ -195,6 +195,10 @@ in
r6d.config-generator = { r6d.config-generator = {
docker = true; docker = true;
radicale = true; radicale = true;
tincAddress = "192.168.12.6/24";
tincExtraConfig = ''
ConnectTo = rollo_dubronetwork_fr
'';
}; };
}) })
(mkIf comp.isRadx { (mkIf comp.isRadx {
@@ -211,6 +215,12 @@ in
kibana = true; kibana = true;
print = true; print = true;
rabbitmq = true; rabbitmq = true;
tincAddress = "192.168.12.3/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
virtualbox = true; virtualbox = true;
}; };
}) })
@@ -231,7 +241,11 @@ in
r6d.config-generator = { r6d.config-generator = {
laptop = true; laptop = true;
tincAddress = "192.168.12.2/24"; tincAddress = "192.168.12.2/24";
tincExtraConfig = "ConnectTo = phenom_dubronetwork_fr"; tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
}; };
}) })
(mkIf comp.isMonstre { (mkIf comp.isMonstre {
@@ -244,6 +258,11 @@ in
fail2ban = true; fail2ban = true;
nix-serve-client = true; nix-serve-client = true;
nixStoreProxyCache = true; nixStoreProxyCache = true;
tincAddress = "192.168.12.4/24";
tincExtraConfig = ''
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
}; };
}) })
(mkIf comp.isNeoNomade{ (mkIf comp.isNeoNomade{
@@ -285,6 +304,11 @@ in
nix-serve-server = true; nix-serve-server = true;
edition-photo = true; edition-photo = true;
tincAddress = "192.168.12.1/24"; tincAddress = "192.168.12.1/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
}; };
}) })
(mkIf comp.isRollo { (mkIf comp.isRollo {
@@ -299,6 +323,10 @@ in
mailboxes = true; mailboxes = true;
murmur = true; murmur = true;
online-ipv6 = true; online-ipv6 = true;
tincAddress = "192.168.12.5/24";
tincExtraConfig = ''
ConnectTo = ocean_prunetwork_fr
'';
znc = true; znc = true;
}; };
}) })

View File

@@ -22,5 +22,8 @@ mkIf true {
"net.ipv6.conf.default.temp_prefered_lft" = 3600; # 1 heure "net.ipv6.conf.default.temp_prefered_lft" = 3600; # 1 heure
"net.ipv6.conf.default.temp_valid_lft" = 3600; # 1 heure "net.ipv6.conf.default.temp_valid_lft" = 3600; # 1 heure
"net.ipv6.conf.default.use_tempaddr" = 2; # activé "net.ipv6.conf.default.use_tempaddr" = 2; # activé
};
"net.ipv6.conf.all.forwarding" = true;
"net.ipv6.conf.default.forwarding" = true;
};
} }

View File

@@ -15,4 +15,9 @@ mkIf true {
networking.extraHosts = '' networking.extraHosts = ''
127.0.0.1 ${config.networking.hostName} 127.0.0.1 ${config.networking.hostName}
''; '';
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
"net.ipv4.conf.default.forwarding" = true;
};
} }