Add wwan networking
This commit is contained in:
parent
a9e5fa79a5
commit
bf015614b6
4 changed files with 88 additions and 111 deletions
|
@ -5,7 +5,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let routerConfig = {
|
||||
wanCardAddress = "00:0d:b9:51:a2:74";
|
||||
wanInterface = "wwp0s19u1u3i12";
|
||||
wireless = {
|
||||
wleInterface = "wlp5s0";
|
||||
wleSSID = "hauser";
|
||||
|
@ -25,12 +25,13 @@ let routerConfig = {
|
|||
in
|
||||
|
||||
{
|
||||
|
||||
imports =
|
||||
[
|
||||
../hardware/apu.nix
|
||||
../hardware/wle900vx.nix
|
||||
../role/base.nix
|
||||
../role/wwan.nix
|
||||
../role/networking/wwan.nix
|
||||
(import ../role/router.nix routerConfig)
|
||||
];
|
||||
|
||||
|
@ -45,6 +46,7 @@ in
|
|||
];
|
||||
|
||||
services.wwan = {
|
||||
enable = true;
|
||||
apn = "gprs.swisscom.ch";
|
||||
networkInterface = "wwp0s19u1u3i12";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue