This commit is contained in:
rnhmjoj
2018-02-01 10:51:35 +01:00
parent f1cacaf97c
commit e28ecd5528

View File

@@ -274,7 +274,7 @@ let
virtualType = mkOption {
default = if hasPrefix "tun" name then "tun" else "tap";
defaultText = ''if hasPrefix "tun" name then "tun" else "tap"'';
defaultText = literalExample ''if hasPrefix "tun" name then "tun" else "tap"'';
type = with types; enum [ "tun" "tap" ];
description = ''
The type of interface to create.