|
|
|
@ -85,6 +85,7 @@ in
|
|
|
|
|
};
|
|
|
|
|
#* Utilisé pour avoir des raccourcis de machine
|
|
|
|
|
r6d.computers = {
|
|
|
|
|
isHydra = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isLatitude = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isMonstre = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isNeoNomade = mkEnableOption "Identification du nom de machine.";
|
|
|
|
@ -105,6 +106,7 @@ in
|
|
|
|
|
{
|
|
|
|
|
r6d.config-generator.enable = true;
|
|
|
|
|
r6d.computers = {
|
|
|
|
|
isHydra = host == "hydra.prunetwork.fr";
|
|
|
|
|
isLatitude = host == "latitude.dubronetwork.fr";
|
|
|
|
|
isMonstre = host == "monstre.dubronetwork.fr";
|
|
|
|
|
isNeoNomade = host == "neo-nomade.dubronetwork.fr";
|
|
|
|
@ -207,6 +209,22 @@ in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Affectation des profils aux machines
|
|
|
|
|
(mkIf comp.isHydra {
|
|
|
|
|
r6d.profiles = {
|
|
|
|
|
isPrunetwork = true;
|
|
|
|
|
isServer = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
r6d.config-generator = {
|
|
|
|
|
docker = true;
|
|
|
|
|
hydra-builder = true;
|
|
|
|
|
hydra-core = true;
|
|
|
|
|
#tincAddress = "192.168.12.6/24";
|
|
|
|
|
#tincExtraConfig = ''
|
|
|
|
|
# ConnectTo = rollo_dubronetwork_fr
|
|
|
|
|
# '';
|
|
|
|
|
};
|
|
|
|
|
})
|
|
|
|
|
(mkIf comp.isOcean {
|
|
|
|
|
r6d.profiles = {
|
|
|
|
|
isPrunetwork = true;
|
|
|
|
|