mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-29 21:35:36 +00:00
14 lines
503 B
Nix
14 lines
503 B
Nix
|
{ hostname, ... }: {
|
||
|
|
||
|
networking.hostName = hostname; # Define your hostname.
|
||
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||
|
|
||
|
# 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.
|
||
|
networking.useDHCP = false;
|
||
|
networking.interfaces.enp0s31f6.useDHCP = true;
|
||
|
networking.interfaces.wlp3s0.useDHCP = true;
|
||
|
|
||
|
}
|