feat: intro vm-simple-network profile

This commit is contained in:
Luj 2024-08-14 22:13:13 +02:00
parent ce1a607c10
commit b8db804e38
Signed by: luj
GPG key ID: 6FC74C847011FD83
4 changed files with 27 additions and 13 deletions

View file

@ -0,0 +1,13 @@
{ config, ... }:
{
systemd.network.enable = true;
systemd.network.networks."10-wan" = {
matchConfig.Name = "ens18";
networkConfig = {
DHCP = "ipv4";
Address = config.machine.meta.ips.public.ipv6;
};
linkConfig.RequiredForOnline = "routable";
};
}