diff options
Diffstat (limited to 'sys/svcs/adb/default.nix')
-rw-r--r-- | sys/svcs/adb/default.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/svcs/adb/default.nix b/sys/svcs/adb/default.nix deleted file mode 100644 index 4055dbb1..00000000 --- a/sys/svcs/adb/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - lib, - config, - ... -}: let - cfg = config.soispha.adb; -in { - options.soispha.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"]; - }; -} |