diff options
author | Leona Maroni <dev@leona.is> | 2024-03-08 16:38:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 16:38:14 +0100 |
commit | 399dc3f09e388a59c5cbc2b77e6594e1a98d4936 (patch) | |
tree | 76d21c1bf1b64e44ca303be156dff2ee9ecceeeb | |
parent | b4af4efff2fc40287d7a4f17b59d2754107b02bb (diff) | |
parent | 4c26c97d215a2922ae6ca88b03717e8bf5e06b7c (diff) | |
download | nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar.gz nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar.bz2 nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar.lz nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar.xz nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.tar.zst nixlib-399dc3f09e388a59c5cbc2b77e6594e1a98d4936.zip |
Merge pull request #290925 from r-vdp/networkd_use_gateway
systemd-networkd: add missing UseGateway key in the DHCPv4 section
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 88d6a2ded873..b6b0f64b94c8 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -797,6 +797,7 @@ let "UseHostname" "Hostname" "UseDomains" + "UseGateway" "UseRoutes" "UseTimezone" "ClientIdentifier" @@ -829,6 +830,7 @@ let (assertValueOneOf "SendHostname" boolValues) (assertValueOneOf "UseHostname" boolValues) (assertValueOneOf "UseDomains" (boolValues ++ ["route"])) + (assertValueOneOf "UseGateway" boolValues) (assertValueOneOf "UseRoutes" boolValues) (assertValueOneOf "UseTimezone" boolValues) (assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"]) |