@@ -124,7 +124,8 @@ in
124124 };
125125 hostName = mkOption {
126126 type = types.str;
127− default = config.networking.hostName;
127+ default = config.networking.fqdn;
128+ defaultText = "\${config.networking.fqdn}";
128129 example = "somewhere.example.com";
129130 description = "DNS name for the urls generated in the cgi.";
130131 };
@@ -156,6 +157,7 @@ in
156157 ownerEmail = mkOption {
157158 type = types.str;
158159 default = "no-reply@${cfg.hostName}";
160+ defaultText = "no-reply@\${hostName}";
159161 example = "no-reply@yourdomain.com";
160162 description = "Email contact for owner";
161163 };