summary refs log tree commit diff
path: root/nixos/modules/services/networking/flannel.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-11-21 16:26:03 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-11-21 16:35:15 +0100
commitf9f354faadb32ae2f0ac11eab0d824cc40f1d56c (patch)
tree42f71984de12c2663740466ca6fe89550837b71d /nixos/modules/services/networking/flannel.nix
parentd69dce080daf2c7004a79950e73dba6545b9097e (diff)
downloadnixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.gz
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.bz2
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.lz
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.xz
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.tar.zst
nixpkgs-f9f354faadb32ae2f0ac11eab0d824cc40f1d56c.zip
nixos/modules: use defaultText where applicable
Primarily to fix rendering of these default values in the manual but
it's also nice to avoid having to eval these things just to build the
manual.
Diffstat (limited to 'nixos/modules/services/networking/flannel.nix')
-rw-r--r--nixos/modules/services/networking/flannel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/flannel.nix b/nixos/modules/services/networking/flannel.nix
index 28b6c4f657d..ca47a18bc1f 100644
--- a/nixos/modules/services/networking/flannel.nix
+++ b/nixos/modules/services/networking/flannel.nix
@@ -20,6 +20,7 @@ in {
       description = "Package to use for flannel";
       type = types.package;
       default = pkgs.flannel.bin;
+      defaultText = "pkgs.flannel.bin";
     };
 
     publicIp = mkOption {