about summary refs log tree commit diff
path: root/nixos/modules/services/networking/ntp/chrony.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2021-11-26 01:16:05 +0100
committerpennae <github@quasiparticle.net>2021-12-02 22:35:04 +0100
commit25124556397ba17bfd70297000270de1e6523b0a (patch)
treea47a5e701f7ebd016871055c3032b8f6be4d0d6c /nixos/modules/services/networking/ntp/chrony.nix
parent80c7745b4e8fae6e533475208fe947b0bcae3cdf (diff)
nixos/*: add trivial defaultText for options with simple defaults
Diffstat (limited to 'nixos/modules/services/networking/ntp/chrony.nix')
-rw-r--r--nixos/modules/services/networking/ntp/chrony.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix
index d414936a2c2be..34728455a2120 100644
--- a/nixos/modules/services/networking/ntp/chrony.nix
+++ b/nixos/modules/services/networking/ntp/chrony.nix
@@ -52,6 +52,7 @@ in
 
       servers = mkOption {
         default = config.networking.timeServers;
+        defaultText = literalExpression "config.networking.timeServers";
         type = types.listOf types.str;
         description = ''
           The set of NTP servers from which to synchronise.