diff --git a/nixos/template-base/configuration.nix b/nixos/template-base/configuration.nix index a045fcc..12ce782 100644 --- a/nixos/template-base/configuration.nix +++ b/nixos/template-base/configuration.nix @@ -10,7 +10,7 @@ in ./hardware-configuration.nix; networking.hostName = "k8s-base-template"; - networking.useDHCP = false; + networking.useDHCP = lib.mkDefault true; networking.useNetworkd = true; networking.nameservers = [ "1.1.1.1" "8.8.8.8" ];