diff options
author | r-vdp <ramses@well-founded.dev> | 2024-02-23 17:37:38 +0100 |
---|---|---|
committer | r-vdp <ramses@well-founded.dev> | 2024-03-08 10:54:03 +0100 |
commit | 4c26c97d215a2922ae6ca88b03717e8bf5e06b7c (patch) | |
tree | 056e0171b10bf1778cd7cf34ffdfb81bf44ba719 /nixos/modules | |
parent | e65193c59a67e5c3cce061ad86786701c7ff962a (diff) |
nixos/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"]) |