add hacky wwan service with hardcoding all over

This commit is contained in:
Daniel Barlow
2024-05-14 22:19:34 +01:00
parent 530b4080c9
commit 71aeb27b2f
2 changed files with 36 additions and 11 deletions

View File

@@ -31,12 +31,10 @@ in rec {
];
hostname = "thing";
services.dhcpc =
let iface = config.hardware.networkInterfaces.lan;
in svc.network.dhcp.client.build {
interface = iface;
dependencies = [ config.services.hostname ];
};
services.dhcpc = svc.network.dhcp.client.build {
interface = config.services.wwan;
dependencies = [ config.services.hostname ];
};
services.sshd = svc.ssh.build { };
@@ -85,6 +83,4 @@ in rec {
passwd = lib.mkForce secrets.root.passwd;
openssh.authorizedKeys.keys = secrets.root.keys;
};
}