diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-05 14:47:44 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-07-05 14:47:44 +0530 |
commit | e7e9fbd741076a0a357cd90cd238446e4eaf514b (patch) | |
tree | db9f7758e04cedcbabc2c2e022cbbfc0bce8b5e6 /configuration.nix | |
parent | cad02678e29621f05183a7f03f3bae32bb4b3aeb (diff) |
adb: fix missing udev rules
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/configuration.nix b/configuration.nix index 436da35..a193d6b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -32,9 +32,8 @@ in # users users.users.${user} = { isNormalUser = true; - extraGroups = [ "wheel" ]; + extraGroups = [ "wheel" "adbusers" ]; packages = with pkgs; [ - android-tools geoipWithDatabase dig nnn @@ -72,11 +71,14 @@ in system.stateVersion = "23.05"; nix.settings.experimental-features = [ "nix-command" ]; - programs.bash.promptInit = '' - PROMPT_COLOR="1;31m" - [ "$UID" -ne 0 ] && - PROMPT_COLOR="1;32m" + programs = { + adb.enable = true; + bash.promptInit = '' + PROMPT_COLOR="1;31m" + [ "$UID" -ne 0 ] && + PROMPT_COLOR="1;32m" - PS1="\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] " - ''; + PS1="\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] " + ''; + }; } |