make a serviceDefn for wwan

This commit is contained in:
Daniel Barlow
2024-05-15 17:36:16 +01:00
parent fa0f262706
commit 898958fa10
3 changed files with 66 additions and 40 deletions

View File

@@ -31,6 +31,13 @@ in rec {
];
hostname = "thing";
services.wwan = svc.wwan.build {
apn = "data.uk";
username = "user";
password = "one2one";
authType = "chap";
};
services.dhcpc = svc.network.dhcp.client.build {
interface = config.services.wwan;
dependencies = [ config.services.hostname ];