From 6620582c8cfc1f26f4901492cb46c1fc0b2d5341 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 17 Sep 2022 18:57:03 +0200 Subject: [PATCH] Fix interface config --- modules/router/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/router/default.nix b/modules/router/default.nix index d3ce032..d00fd8c 100644 --- a/modules/router/default.nix +++ b/modules/router/default.nix @@ -2,7 +2,7 @@ boot.kernel.sysctl = { "net.ipv4.conf.all.forwarding" = true; }; - interfaces.enp1s0 = { + networking.interfaces.enp1s0 = { useDHCP = true; }; }