about summary refs log tree commit diff
path: root/modules/android.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/android.nix')
-rw-r--r--modules/android.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/android.nix b/modules/android.nix
index 363bd6c..65710ca 100644
--- a/modules/android.nix
+++ b/modules/android.nix
@@ -1,12 +1,11 @@
 { config, lib, ... }:
-with lib;
 let
   cfg = config.nixfiles.modules.android;
 in
 {
-  options.nixfiles.modules.android.enable = mkEnableOption "support for Android devices";
+  options.nixfiles.modules.android.enable = lib.mkEnableOption "support for Android devices";
 
-  config = mkIf cfg.enable {
+  config = lib.mkIf cfg.enable {
     programs.adb.enable = true;
 
     my.extraGroups = [ "adbusers" ];

Consider giving Nix/NixOS a try! <3