Bruno BELANYI
b53bcc5307
All checks were successful
continuous-integration/drone/push Build is passing
Let NetworkManager take care of it, this avoids the "waiting for dhcpd" message when shutting down my laptop.
20 lines
478 B
Nix
20 lines
478 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
hostName = "aramis";
|
|
|
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
# replicates the default behaviour.
|
|
useDHCP = false;
|
|
};
|
|
|
|
my.hardware.networking = {
|
|
# Which interface is used to connect to the internet
|
|
externalInterface = "enp0s3";
|
|
|
|
# Enable WiFi integration
|
|
wireless.enable = true;
|
|
};
|
|
}
|