use networkd
This commit is contained in:
parent
e63568518c
commit
624be0a4d0
4 changed files with 21 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue