infra/hosts/metronom/networking.nix

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

20 lines
334 B
Nix
Raw Normal View History

2024-05-22 19:49:34 +00:00
{
config,
pkgs,
flake,
...
}:
{
networking.hostName = "metronom";
networking.domain = "pub.solar";
networking.hostId = "00000002";
networking.enableIPv6 = true;
networking.useDHCP = false;
networking.interfaces."enp1s0".useDHCP = true;
# TODO: ssh via wireguard only
services.openssh.openFirewall = true;
}