feat: generalize simple network profile

This commit is contained in:
Luj 2024-08-24 01:03:39 +02:00
parent 1fef242ebf
commit 9471a6a902
2 changed files with 6 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{
systemd.network.enable = true;
systemd.network.networks."10-wan" = {
matchConfig.Name = "ens18";
matchConfig.Name = config.machine.meta.defaultInterface;
networkConfig = {
DHCP = "ipv4";
Address = config.machine.meta.ips.public.ipv6;