Add wwan module
This commit is contained in:
parent
ef684576df
commit
a9e5fa79a5
3 changed files with 452 additions and 1 deletions
|
@ -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?
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue