summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-07-08 20:43:17 +0200
committerFlorian Klink <flokli@flokli.de>2020-07-08 20:43:17 +0200
commit9e5f550af9836105d01faffecde22cf192e09414 (patch)
tree844553ab71af7aa75b8bcbc713422607a3bbbd02 /nixos
parent1ceecdd109d0c30fd48fc6af295d9c8b05d6c6c6 (diff)
downloadnixpkgs-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.nix2
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