1
Fork 0
satellite/modules/network.nix
2020-04-08 19:36:58 +03:00

14 lines
405 B
Nix

{ ... }: {
networking = {
networkmanager.enable = true;
hostName = "nixos";
# 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;
interfaces.enp1s0.useDHCP = true;
interfaces.wlp0s20f3.useDHCP = true;
};
}