enable dhcp for eth

This commit is contained in:
Moritz Böhme 2021-09-29 13:33:38 +02:00
parent 00ff693780
commit e5b0c420d3

View file

@ -5,11 +5,10 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports = [
[ # Include the results of the hardware scan.
# Include the results of the hardware scan. ./hardware-configuration.nix
./hardware-configuration.nix ];
];
# BOOT # BOOT
boot = { boot = {
@ -44,6 +43,7 @@
useDHCP = false; useDHCP = false;
interfaces.wlp1s0.useDHCP = true; interfaces.wlp1s0.useDHCP = true;
interfaces.enp4s0f4u2.useDHCP = true;
}; };
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";