From 608791a7a93e768753495349507faf73b50d6e02 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 19 Dec 2023 08:28:59 +0900 Subject: [PATCH] default dhcp --- nixos/common/modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/common/modules/networking.nix b/nixos/common/modules/networking.nix index f8189e3e..0d4137dc 100644 --- a/nixos/common/modules/networking.nix +++ b/nixos/common/modules/networking.nix @@ -1,4 +1,4 @@ -{pkgs, config, ...}: { +{lib, pkgs, config, ...}: { # Enable networking with NetworkManager networking = { @@ -6,7 +6,7 @@ enable = true; }; - useDHCP = true; + useDHCP = lib.mkDefault true; enableIPv6 = false; firewall = { enable = true;