forked from colonelpanic/dotfiles
[NixOS] Add adb support
This commit is contained in:
parent
a33382da61
commit
93ee4866b8
@ -174,6 +174,7 @@ in
|
|||||||
patchelf
|
patchelf
|
||||||
plasma-workspace
|
plasma-workspace
|
||||||
powertop
|
powertop
|
||||||
|
pscircle
|
||||||
python-with-my-packages
|
python-with-my-packages
|
||||||
qt5.qttools
|
qt5.qttools
|
||||||
rcm
|
rcm
|
||||||
@ -214,6 +215,7 @@ in
|
|||||||
|
|
||||||
|
|
||||||
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||||
|
programs.adb.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -270,7 +272,13 @@ in
|
|||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.extraUsers = let
|
users.extraUsers = let
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel" "disk" "audio" "video" "networkmanager" "systemd-journal"
|
"audio"
|
||||||
|
"adbusers"
|
||||||
|
"disk"
|
||||||
|
"networkmanager"
|
||||||
|
"systemd-journal"
|
||||||
|
"video"
|
||||||
|
"wheel"
|
||||||
];
|
];
|
||||||
userDefaults = {
|
userDefaults = {
|
||||||
inherit extraGroups;
|
inherit extraGroups;
|
||||||
@ -294,5 +302,5 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.nixos.stateVersion = "18.03";
|
system.stateVersion = "18.03";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user