lol

nixos/flannel: Refactor to use config.networking.fqdnOrHostName

+2 -4
+2 -4
nixos/modules/services/networking/flannel.nix
··· 92 92 Needed when running with Kubernetes as backend as this cannot be auto-detected"; 93 93 ''; 94 94 type = types.nullOr types.str; 95 - default = with config.networking; (hostName + optionalString (domain != null) ".${domain}"); 96 - defaultText = literalExpression '' 97 - with config.networking; (hostName + optionalString (domain != null) ".''${domain}") 98 - ''; 95 + default = config.networking.fqdnOrHostName; 96 + defaultText = literalExpression "config.networking.fqdnOrHostName"; 99 97 example = "node1.example.com"; 100 98 }; 101 99