diff options
-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\] " + ''; + }; } |