infra/hosts/metronom/networking.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
322 B
Nix
Raw Permalink Normal View History

2024-05-22 19:49:34 +00:00
{
config,
pkgs,
flake,
...
}:
{
networking.hostName = "metronom";
2024-05-27 15:51:02 +00:00
networking.extraHosts = ''
127.0.0.2 mail.pub.solar mail
::1 mail.pub.solar mail
'';
2024-05-22 19:49:34 +00:00
networking.hostId = "00000002";
networking.enableIPv6 = true;
networking.useDHCP = false;
networking.interfaces."enp1s0".useDHCP = true;
}