about summary refs log tree commit diff
path: root/nixos/modules/services/networking/resilio.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/resilio.nix
parent80c7745b4e8fae6e533475208fe947b0bcae3cdf (diff)
nixos/*: add trivial defaultText for options with simple defaults
Diffstat (limited to 'nixos/modules/services/networking/resilio.nix')
-rw-r--r--nixos/modules/services/networking/resilio.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix
index 4701b0e8143d2..891278506417d 100644
--- a/nixos/modules/services/networking/resilio.nix
+++ b/nixos/modules/services/networking/resilio.nix
@@ -58,6 +58,7 @@ in
         type = types.str;
         example = "Voltron";
         default = config.networking.hostName;
+        defaultText = literalExpression "config.networking.hostName";
         description = ''
           Name of the Resilio Sync device.
         '';