This commit is contained in:
rnhmjoj 2018-02-01 10:51:35 +01:00
parent f1cacaf97c
commit e28ecd5528
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A

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.