24 lines
439 B
Nix
24 lines
439 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# Configure network proxy if necessary
|
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
|
|
networking = {
|
|
hosts = {
|
|
"127.0.0.1" = ["localhost"];
|
|
};
|
|
|
|
networkmanager.enable = true;
|
|
|
|
# interfaces = {
|
|
# enp0s31f6 = {};
|
|
# wlp4s0 = {};
|
|
# };
|
|
usePredictableInterfaceNames = false;
|
|
};
|
|
}
|