diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-01 10:51:35 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-01 10:51:35 +0100 |
commit | e28ecd55285aa1d08b46c57396c21b85c428d083 (patch) | |
tree | a858cb890f44c22137a256bd08975e138841f73b | |
parent | f1cacaf97c4057997a2b4c62be1696650f53203d (diff) | |
download | nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar.gz nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar.bz2 nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar.lz nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar.xz nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.tar.zst nixlib-e28ecd55285aa1d08b46c57396c21b85c428d083.zip |
fix
-rw-r--r-- | nixos/modules/tasks/network-interfaces.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 2a17ae934f8a..f4851988d63d 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -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. |