1

Lib/Networking: Update network manager profile generation helper

This commit is contained in:
2025-07-11 13:57:17 +02:00
parent 7a5f89cf90
commit a2137cf459

View File

@ -79,17 +79,18 @@
};
};
# TODO: What other config options are there?
mkStaticNetworkManagerProfile = {
id,
interface,
ip,
router,
nameserver,
autoconnect,
nameserver ? "8.8.8.8;8.8.4.4;",
autoconnect ? true,
priority ? 0,
}: {
connection = {
inherit id autoconnect;
autoconnect-priority = "${priority}";
type = "ethernet";
interface-name = interface;
};
@ -100,5 +101,9 @@
gateway = router;
dns = nameserver;
};
ipv6 = {
method = "disabled";
};
};
}