mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 08:25:55 +03:00
networking.defaultGateway{,6}: fix example
This commit is contained in:
parent
d0d5ea0cdf
commit
f1e6dc8750
@ -358,7 +358,7 @@ in
|
|||||||
default = null;
|
default = null;
|
||||||
example = {
|
example = {
|
||||||
address = "131.211.84.1";
|
address = "131.211.84.1";
|
||||||
device = "enp3s0";
|
interface = "enp3s0";
|
||||||
};
|
};
|
||||||
type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts));
|
type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts));
|
||||||
description = ''
|
description = ''
|
||||||
@ -371,7 +371,7 @@ in
|
|||||||
default = null;
|
default = null;
|
||||||
example = {
|
example = {
|
||||||
address = "2001:4d0:1e04:895::1";
|
address = "2001:4d0:1e04:895::1";
|
||||||
device = "enp3s0";
|
interface = "enp3s0";
|
||||||
};
|
};
|
||||||
type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts));
|
type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts));
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user