From 93ee4866b893c2068d5c6acf253473d20458ae93 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 2 Jan 2019 12:41:19 -0800 Subject: [PATCH] [NixOS] Add adb support --- nixos/configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index b3fddd09..401acb54 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -174,6 +174,7 @@ in patchelf plasma-workspace powertop + pscircle python-with-my-packages qt5.qttools rcm @@ -214,6 +215,7 @@ in programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; + programs.adb.enable = true; services.openssh.enable = true; services.avahi = { enable = true; @@ -270,7 +272,13 @@ in # Define a user account. Don't forget to set a password with ‘passwd’. users.extraUsers = let extraGroups = [ - "wheel" "disk" "audio" "video" "networkmanager" "systemd-journal" + "audio" + "adbusers" + "disk" + "networkmanager" + "systemd-journal" + "video" + "wheel" ]; userDefaults = { inherit extraGroups; @@ -294,5 +302,5 @@ in }; }; - system.nixos.stateVersion = "18.03"; + system.stateVersion = "18.03"; }