ark/profiles/network/default.nix

24 lines
391 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 = {
2021-04-03 11:25:07 +03:00
internet0 = {
matchConfig = { Name = "enp6s0"; };
networkConfig = {
Address = "192.168.1.33";
Gateway = "192.168.1.255";
};
2021-04-03 11:25:07 +03:00
};
};
};*/
2020-11-21 23:54:07 +03:00
}