Files
nix-config/system/networking/default.nix

24 lines
436 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 = true;
};
}