ajout de profil minimaliste pour ocean
This commit is contained in:
@@ -58,6 +58,7 @@ in
|
|||||||
isMonstre = mkEnableOption "Identification du nom de machine.";
|
isMonstre = mkEnableOption "Identification du nom de machine.";
|
||||||
isNeoNomade = mkEnableOption "Identification du nom de machine.";
|
isNeoNomade = mkEnableOption "Identification du nom de machine.";
|
||||||
isNomade = mkEnableOption "Identification du nom de machine.";
|
isNomade = mkEnableOption "Identification du nom de machine.";
|
||||||
|
isOcean = mkEnableOption "Identification du nom de machine.";
|
||||||
isPhenom = mkEnableOption "Identification du nom de machine.";
|
isPhenom = mkEnableOption "Identification du nom de machine.";
|
||||||
isRadx = mkEnableOption "Identification du nom de machine.";
|
isRadx = mkEnableOption "Identification du nom de machine.";
|
||||||
isXray = mkEnableOption "Identification du nom de machine.";
|
isXray = mkEnableOption "Identification du nom de machine.";
|
||||||
@@ -76,6 +77,7 @@ in
|
|||||||
isMonstre = host == "monstre.dubronetwork.fr";
|
isMonstre = host == "monstre.dubronetwork.fr";
|
||||||
isNeoNomade = host == "neo-nomade.dubronetwork.fr";
|
isNeoNomade = host == "neo-nomade.dubronetwork.fr";
|
||||||
isNomade = host == "nomade.dubronetwork.fr";
|
isNomade = host == "nomade.dubronetwork.fr";
|
||||||
|
isOcean = host == "ocean.prunetwork.fr";
|
||||||
isPhenom = host == "phenom.dubronetwork.fr";
|
isPhenom = host == "phenom.dubronetwork.fr";
|
||||||
isRadx = host == "radx.prunetwork.fr";
|
isRadx = host == "radx.prunetwork.fr";
|
||||||
isXray = host == "xray.prunetwork.fr";
|
isXray = host == "xray.prunetwork.fr";
|
||||||
@@ -121,6 +123,10 @@ in
|
|||||||
|
|
||||||
|
|
||||||
## Affectation des profils aux machines
|
## Affectation des profils aux machines
|
||||||
|
(mkIf comp.isOcean {
|
||||||
|
r6d.profiles.isPrunetwork = true;
|
||||||
|
r6d.profiles.isServer = true;
|
||||||
|
})
|
||||||
(mkIf comp.isRadx {
|
(mkIf comp.isRadx {
|
||||||
r6d.profiles.isHome = true;
|
r6d.profiles.isHome = true;
|
||||||
r6d.profiles.isPrunetwork = true;
|
r6d.profiles.isPrunetwork = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user