feat: intro vm-simple-network profile

This commit is contained in:
Luj 2024-08-14 22:13:13 +02:00
parent 95231289bc
commit f59a27b652
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";
};
}