Add networking.useDHCP option
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
hostname = "Equinox";
|
hostname = "Equinox";
|
||||||
@@ -25,6 +25,7 @@ in
|
|||||||
# Set networking
|
# Set networking
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
|
||||||
# Bootloader configuration
|
# Bootloader configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user