ark/profiles/network/default.nix

25 lines
460 B
Nix
Raw Normal View History

2020-11-21 23:54:07 +03:00
{
imports = [ ./dns ];
networking.networkmanager.enable = false;
networking.dhcpcd.enable = true;
2020-11-21 23:54:07 +03:00
networking.useDHCP = false;
networking.dhcpcd.extraConfig = ''
noarp
nodelay
'';
/*systemd.network = {
enable = true;
networks = {
internet0 = {
matchConfig = { Name = "enp6s0"; };
networkConfig = {
Address = "192.168.1.33";
Gateway = "192.168.1.255";
};
};
};
};*/
2020-11-21 23:54:07 +03:00
}