From ef566ac562f3909b43ae9dd5714e4ed0feb94b9c Mon Sep 17 00:00:00 2001 From: RatCornu Date: Sun, 22 Jun 2025 15:59:26 +0200 Subject: [PATCH] Commentaires PR --- modules/crans/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/crans/networking.nix b/modules/crans/networking.nix index 4d9a1e8..ca183cf 100644 --- a/modules/crans/networking.nix +++ b/modules/crans/networking.nix @@ -16,7 +16,7 @@ in enable = mkEnableOption "Configuration réseaux commune à toutes les machines du Crans."; id = mkOption { - type = types.int; + type = types.str; example = "35"; description = "Le numéro de la VM dans Proxmox (sans le `1` devant)."; }; @@ -203,7 +203,7 @@ in ipv6.addresses = [ { - address = "fd00::4:0:ff:fe01:${toString cfg.id}10"; + address = "fd00::4:0:ff:fe01:${toString cfg.id}04"; prefixLength = 64; } ];