fix
This commit is contained in:
parent
f1cacaf97c
commit
e28ecd5528
@ -274,7 +274,7 @@ let
|
|||||||
|
|
||||||
virtualType = mkOption {
|
virtualType = mkOption {
|
||||||
default = if hasPrefix "tun" name then "tun" else "tap";
|
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" ];
|
type = with types; enum [ "tun" "tap" ];
|
||||||
description = ''
|
description = ''
|
||||||
The type of interface to create.
|
The type of interface to create.
|
||||||
|
Loading…
Reference in New Issue
Block a user