|
|
|
@ -68,6 +68,7 @@ in
|
|
|
|
|
isOcean = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isPhenom = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isRadx = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isRollo = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
isXray = mkEnableOption "Identification du nom de machine.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@ -87,6 +88,7 @@ in
|
|
|
|
|
isOcean = host == "ocean.prunetwork.fr";
|
|
|
|
|
isPhenom = host == "phenom.dubronetwork.fr";
|
|
|
|
|
isRadx = host == "radx.prunetwork.fr";
|
|
|
|
|
isRollo = host == "rollo.dubronetwork.fr";
|
|
|
|
|
isXray = host == "xray.prunetwork.fr";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
@ -233,5 +235,13 @@ in
|
|
|
|
|
nix-serve-server = true;
|
|
|
|
|
};
|
|
|
|
|
})
|
|
|
|
|
(mkIf comp.isRollo {
|
|
|
|
|
r6d.profiles = {
|
|
|
|
|
isDubronetwork = true;
|
|
|
|
|
isServer = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
r6d.config-generator.fail2ban = true;
|
|
|
|
|
})
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|