about summary refs log tree commit diff
path: root/nixos/modules/services/networking/ncdns.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/ncdns.nix')
-rw-r--r--nixos/modules/services/networking/ncdns.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ncdns.nix b/nixos/modules/services/networking/ncdns.nix
index af17fc0814b2e..82c285d051607 100644
--- a/nixos/modules/services/networking/ncdns.nix
+++ b/nixos/modules/services/networking/ncdns.nix
@@ -76,6 +76,7 @@ in
       identity.hostname = mkOption {
         type = types.str;
         default = config.networking.hostName;
+        defaultText = literalExpression "config.networking.hostName";
         example = "example.com";
         description = ''
           The hostname of this ncdns instance, which defaults to the machine