From 2e5167de1560ad0d7b8e294c72e1913f694160c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/2configs/autotether.nix | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lass/2configs/autotether.nix (limited to 'lass/2configs/autotether.nix') diff --git a/lass/2configs/autotether.nix b/lass/2configs/autotether.nix deleted file mode 100644 index 98712303..00000000 --- a/lass/2configs/autotether.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, pkgs, ... }: -{ - systemd.services.usb_tether = { - script = '' - ${pkgs.android-tools}/bin/adb -s QV770FAMEK wait-for-device - ${pkgs.android-tools}/bin/adb -s QV770FAMEK shell svc usb setFunctions rndis - ''; - }; - services.udev.extraRules = '' - ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="fce/320d/510", TAG+="systemd", ENV{SYSTEMD_WANTS}="usb_tether.service" - ''; - systemd.network.networks.android = { - matchConfig.Name = "enp0s20u1"; - DHCP = "yes"; - }; -} -- cgit v1.2.3