minime: networkd
This commit is contained in:
parent
46d43562ad
commit
b28314ca95
4 changed files with 29 additions and 109 deletions
|
@ -55,18 +55,6 @@
|
|||
randomEncryption = true;
|
||||
} ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp0s13f0u1u1.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp2s0f0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp2s0f1.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp87s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp90s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp91s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue