diff options
author | Florian Klink <flokli@flokli.de> | 2020-07-08 20:43:17 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-07-08 20:43:17 +0200 |
commit | 9e5f550af9836105d01faffecde22cf192e09414 (patch) | |
tree | 844553ab71af7aa75b8bcbc713422607a3bbbd02 /nixos | |
parent | 1ceecdd109d0c30fd48fc6af295d9c8b05d6c6c6 (diff) | |
download | nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar.gz nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar.bz2 nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar.lz nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar.xz nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.tar.zst nixpkgs-9e5f550af9836105d01faffecde22cf192e09414.zip |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index b0545363b33..3ca43a75c26 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -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 |