feat: simplify network config

This commit is contained in:
Michael Mandl 2023-03-08 10:50:08 +01:00
parent 85a1b778d2
commit b5d454b619
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 2 additions and 5 deletions

View file

@ -34,10 +34,7 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
services.resolved = { services.resolved.enable = true;
enable = true;
dnssec = "false";
};
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -39,7 +39,7 @@
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/b90199d6-05e8-4994-bf9d-7b07f10d583e"; }]; [{ 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; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;