diff --git a/config-generator.nix b/config-generator.nix index 8930031..d667398 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -45,6 +45,8 @@ in auto-upgrade = mkEnableOption "Profil pour activer les mises à jour automatiques."; database_postgres=mkEnableOption "Profil pour activer le SGBD PostgreSQL."; docker = mkEnableOption "Profil pour l'utilisation de Docker."; + dns_autorite = mkEnableOption "Profil pour servir les fichiers de zone DNS."; + dns_resolveur = mkEnableOption "Profil pour activer un résolveur DNS local."; fail2ban = mkEnableOption "Profil pour activer Fail2ban."; jeux = mkEnableOption "Profil pour les jeux vidéos."; laptop = mkEnableOption "Profil pour les outils spécifiques aux ordinateurs portables.."; @@ -104,6 +106,8 @@ in (mkIf pfl.isServer { r6d.config-generator = { #database_postgres = true; + dns_autorite = true; + #dns_resolveur = true; nix-serve-server = true; #rabbitmq = true; }; @@ -111,7 +115,10 @@ in (mkIf pfl.isWorkstation { r6d.profiles.isDesktop = true; - r6d.config-generator.docker = true; + r6d.config-generator = { + docker = true; + dns_resolveur = true; + }; }) ## Profils liés à Dubronetwork