summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-03-19 16:57:07 -0600
committerAlejandro Soto <alejandro@34project.org>2022-03-19 16:57:07 -0600
commitb59d6372dcf57aa5e8bc64be86c1f23554632394 (patch)
treeeeecd01b878f8a22fc42621827f7fbb349ffe7f5 /sys
parent7793b7d8af601353e236252922abe84c5e9b79d0 (diff)
shenvs: android-dev
Diffstat (limited to 'sys')
-rw-r--r--sys/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/default.nix b/sys/default.nix
index 3840a30..08b6549 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -295,6 +295,10 @@ in {
displayManager.startx.enable = true;
};
+ services.udev.packages = [
+ pkgs.android-udev-rules
+ ];
+
security.pam = {
oath = {
usersFile = "/var/trust/users.oath";
@@ -405,7 +409,7 @@ in {
isNormalUser = true;
uid = 1000;
group = "ale";
- extraGroups = [ "users" "wheel" ];
+ extraGroups = [ "users" "wheel" "adbusers" ];
shell = pkgs.zsh;
};
@@ -421,6 +425,7 @@ in {
users.groups = {
ale.gid = 1001;
tutorias.gid = 1007;
+ adbusers.gid = 1008;
};
};
}