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 /nixos/modules | |
parent | b4af4efff2fc40287d7a4f17b59d2754107b02bb (diff) | |
parent | 4c26c97d215a2922ae6ca88b03717e8bf5e06b7c (diff) |
Merge pull request #290925 from r-vdp/networkd_use_gateway
systemd-networkd: add missing UseGateway key in the DHCPv4 section
Diffstat (limited to 'nixos/modules')
-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 88d6a2ded873c..b6b0f64b94c81 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"]) |