Add networking.useDHCP option

This commit is contained in:
panotaka
2023-11-21 22:31:56 -04:00
parent 9a944eaab0
commit 027e36d8f8

View File

@@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ config, pkgs, inputs, lib, ... }:
let
hostname = "Equinox";
@@ -25,6 +25,7 @@ in
# Set networking
networking.hostName = hostname;
networking.networkmanager.enable = true;
networking.useDHCP = lib.mkDefault true;
# Bootloader configuration