diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 11:02:04 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 14:57:42 +0100 |
commit | 862e3dd977cdd853c3ab3202ab1b73561f8a3ea1 (patch) | |
tree | 43e95414e328ac92383bccf41219c30fa9729473 /nixos/modules/tasks/network-interfaces.nix | |
parent | 162b874469935923dec02cc9a6b5f58b1c8267a8 (diff) | |
download | nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.gz nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.bz2 nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.lz nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.xz nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.zst nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.zip |
Substitute "types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/tasks/network-interfaces.nix')
-rw-r--r-- | nixos/modules/tasks/network-interfaces.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 796da3020ed..d8522b6abba 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -14,14 +14,14 @@ let name = mkOption { example = "eth0"; - type = types.uniq types.string; + type = types.str; description = "Name of the interface."; }; ipAddress = mkOption { default = null; example = "10.0.0.1"; - type = types.nullOr (types.uniq types.string); + type = types.nullOr (types.str); description = '' IP address of the interface. Leave empty to configure the interface using DHCP. @@ -41,7 +41,7 @@ let subnetMask = mkOption { default = ""; example = "255.255.255.0"; - type = types.uniq types.string; + type = types.str; description = '' Subnet mask of the interface, specified as a bitmask. This is deprecated; use <option>prefixLength</option> @@ -52,7 +52,7 @@ let macAddress = mkOption { default = null; example = "00:11:22:33:44:55"; - type = types.nullOr (types.uniq types.string); + type = types.nullOr (types.str); description = '' MAC address of the interface. Leave empty to use the default. ''; @@ -72,7 +72,7 @@ let virtualOwner = mkOption { default = "root"; - type = types.uniq types.string; + type = types.str; description = '' In case of a virtual device, the user who owns it. ''; |