ark/profiles/network/default.nix

24 lines
417 B
Nix
Raw Normal View History

2020-11-21 23:54:07 +03:00
{
imports = [ ./dns ];
2021-01-27 17:52:23 +03:00
networking.dhcpcd.enable = false;
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
}