Add wwan module

This commit is contained in:
Fabian Hauser 2019-12-23 03:18:00 +01:00
parent ef684576df
commit a9e5fa79a5
3 changed files with 452 additions and 1 deletions

View file

@ -30,6 +30,7 @@ in
../hardware/apu.nix
../hardware/wle900vx.nix
../role/base.nix
../role/wwan.nix
(import ../role/router.nix routerConfig)
];
@ -43,6 +44,11 @@ in
[ { device = "/dev/disk/by-uuid/73f91e99-d856-4504-b6b2-d60f855d6d95"; }
];
services.wwan = {
apn = "gprs.swisscom.ch";
networkInterface = "wwp0s19u1u3i12";
};
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
@ -85,6 +91,6 @@ in
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.03"; # Did you read the comment?
system.stateVersion = "19.09"; # Did you read the comment?
}