enable dhcp for eth

nixos
Moritz Böhme 2021-09-29 13:33:38 +02:00
parent 00ff693780
commit e5b0c420d3
1 changed files with 5 additions and 5 deletions

View File

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