added android app adb

This commit is contained in:
Nickiel12 2023-12-17 21:42:07 -08:00
parent 2ca63373e5
commit e34475b4b1
3 changed files with 14 additions and 3 deletions

View file

@ -18,6 +18,10 @@
enableKwallet = true; enableKwallet = true;
}; };
services.udev.packages = [
pkgs.android-udev-rules
];
# Some programs look for session variables to store config files at # Some programs look for session variables to store config files at
# (Looking at you home-manager yazi) # (Looking at you home-manager yazi)
environment.sessionVariables = rec { environment.sessionVariables = rec {

View file

@ -1,4 +1,4 @@
{ config, ... }: { config, user, ... }:
{ {
@ -7,6 +7,9 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
programs.adb.enable = true;
users.users.${user}.extraGroups = [ "adbusers" ];
networking = { networking = {
firewall = { firewall = {
checkReversePath = "loose"; checkReversePath = "loose";

View file

@ -1,10 +1,14 @@
{ config, ... }: { config, user, ... }:
{ imports = [ {
imports = [
(import ./../../modules/xrdp.nix) (import ./../../modules/xrdp.nix)
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
programs.adb.enable = true;
users.users.${user}.extraGroups = [ "adbusers" ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
networking.hosts = { networking.hosts = {