about summary refs log tree commit diff stats
path: root/modules/system/services/adb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/services/adb/default.nix')
-rw-r--r--modules/system/services/adb/default.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/system/services/adb/default.nix b/modules/system/services/adb/default.nix
deleted file mode 100644
index ec5d4be6..00000000
--- a/modules/system/services/adb/default.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  lib,
-  config,
-  ...
-}: let
-  cfg = config.soispha.services.adb;
-in {
-  options.soispha.services.adb = {
-    enable = lib.mkEnableOption "Android adb bridge";
-    user = lib.mkOption {
-      type = lib.types.str;
-      example = "soispha";
-      default = "soispha";
-      description = "Username to grant access to adb bridge";
-    };
-  };
-
-  config = lib.mkIf cfg.enable {
-    programs.adb.enable = true;
-    users.users."${cfg.user}".extraGroups = ["adbusers"];
-  };
-}