From b5d454b619543eed149547e38da31ab5a156bf74 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 8 Mar 2023 10:50:08 +0100 Subject: [PATCH] feat: simplify network config --- configuration.nix | 5 +---- machines/p330/hardware-configuration.nix | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index c52a612..46350a2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -34,10 +34,7 @@ services.gnome.gnome-keyring.enable = true; - services.resolved = { - enable = true; - dnssec = "false"; - }; + services.resolved.enable = true; networking.networkmanager.enable = true; diff --git a/machines/p330/hardware-configuration.nix b/machines/p330/hardware-configuration.nix index 3147665..d523bf1 100644 --- a/machines/p330/hardware-configuration.nix +++ b/machines/p330/hardware-configuration.nix @@ -39,7 +39,7 @@ swapDevices = [{ device = "/dev/disk/by-uuid/b90199d6-05e8-4994-bf9d-7b07f10d583e"; }]; - networking.interfaces.eno1.useDHCP = lib.mkDefault true; + networking.useDHCP = lib.mkDefault true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;