From 48e34b59ad446256f429528e4e8946299ed3c1a0 Mon Sep 17 00:00:00 2001
From: tv <tv@krebsco.de>
Date: Tue, 24 Oct 2017 22:49:19 +0200
Subject: [PATCH] tv xu: enable umts

---
 tv/1systems/xu/config.nix | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix
index 0363c983d..08bdfa52b 100644
--- a/tv/1systems/xu/config.nix
+++ b/tv/1systems/xu/config.nix
@@ -161,5 +161,14 @@ with import <stockholm/lib>;
     tv = "/home/tv/stockholm/tv/5pkgs";
   };
 
+  tv.umts = {
+    enable = true;
+    modem = "/dev/serial/by-id/usb-Lenovo_F5521gw_097EAD658B094860-if09";
+    initstrings = ''
+      Init1 = AT+CFUN=1
+      Init2 = AT+CGDCONT=1,"IP","pinternet.interkom.de","",0,0
+    '';
+  };
+
   virtualisation.virtualbox.host.enable = true;
 }