diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2024-12-07 16:13:22 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2024-12-07 16:13:22 +0100 |
| commit | 9ba181517d169cb95314b7b16ed9f8749931a648 (patch) | |
| tree | 87f1bbeed884fa88cff579f4641b40f605c62e2c /config/networking/services | |
| parent | 4f25a50275110331c3b724579df9f127db24eb8e (diff) | |
networking: dhcp: fix kea conf (new id option for subnets)
Diffstat (limited to 'config/networking/services')
| -rw-r--r-- | config/networking/services/dhcp.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/networking/services/dhcp.nix b/config/networking/services/dhcp.nix index 24f003c..4370136 100644 --- a/config/networking/services/dhcp.nix +++ b/config/networking/services/dhcp.nix @@ -42,6 +42,7 @@ in { ... }: { subnet = "${subnet.prefix}.0/${builtins.toString subnet.prefixLength}"; + id = lib.toInt (lib.removePrefix "192.168." subnet.prefix); option-data = [ { name = "broadcast-address"; |
