use networkd

This commit is contained in:
Christoph Cullmann 2023-04-29 15:51:29 +02:00
parent e63568518c
commit 624be0a4d0
4 changed files with 21 additions and 9 deletions

View file

@ -20,8 +20,8 @@
swapDevices = [ ];
# Enables DHCP on the right ethernet interface.
networking.interfaces.eno1.useDHCP = true;
# setup our network for later config in common.nix
systemd.network.networks."10-lan".matchConfig.Name = "eno1";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;