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.
commit9e5f550af9836105d01faffecde22cf192e09414
authorFlorian Klink <flokli@flokli.de>
dateWed 8 Jul 2020, 20:43 (6 years ago)
parent1ceecdd
nixos/modules/system/boot/networkd.nix+1−1
@@ -488,7 +488,7 @@ let
488488
489489 vlanConfig = mkOption {
490490 default = {};
491− example = { Id = "4"; };
491+ example = { Id = 4; };
492492 type = types.addCheck (types.attrsOf unitOption) checkVlan;
493493 description = ''
494494 Each attribute in this set specifies an option in the