nixos/networkd: fix systemd.network.netdevs.<name>.vlanConfig.Id example
This is passed as integer, not string. Closes https://github.com/NixOS/nixpkgs/issues/91172.
This commit is contained in:
parent
1ceecdd109
commit
9e5f550af9
@ -488,7 +488,7 @@ let
|
|||||||
|
|
||||||
vlanConfig = mkOption {
|
vlanConfig = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
example = { Id = "4"; };
|
example = { Id = 4; };
|
||||||
type = types.addCheck (types.attrsOf unitOption) checkVlan;
|
type = types.addCheck (types.attrsOf unitOption) checkVlan;
|
||||||
description = ''
|
description = ''
|
||||||
Each attribute in this set specifies an option in the
|
Each attribute in this set specifies an option in the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user