Skip to content

Commit

Permalink
nixos/networkd: fix systemd.network.netdevs.<name>.vlanConfig.Id example
Browse files Browse the repository at this point in the history
This is passed as integer, not string.

Closes #91172.
  • Loading branch information
flokli committed Jul 8, 2020
1 parent 1ceecdd commit 9e5f550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/networkd.nix
Expand Up @@ -488,7 +488,7 @@ let

vlanConfig = mkOption {
default = {};
example = { Id = "4"; };
example = { Id = 4; };
type = types.addCheck (types.attrsOf unitOption) checkVlan;
description = ''
Each attribute in this set specifies an option in the
Expand Down

0 comments on commit 9e5f550

Please sign in to comment.