feat: generalize simple network profile

This commit is contained in:
Luj 2024-08-24 01:03:39 +02:00
parent 5bdec2270f
commit 757386bd11
Signed by: luj
GPG key ID: 6FC74C847011FD83
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;