diff --git a/hosts/common/optional/adb.nix b/hosts/common/optional/adb.nix new file mode 100644 index 0000000..a9b7e21 --- /dev/null +++ b/hosts/common/optional/adb.nix @@ -0,0 +1,5 @@ +{ pkgs, config, ... }: +{ + programs.adb.enable = true; + users.users.${config.hostSpec.username}.extraGroups = [ "adbusers" ]; +} diff --git a/hosts/nixos/rune/default.nix b/hosts/nixos/rune/default.nix index 035cad8..72ba531 100644 --- a/hosts/nixos/rune/default.nix +++ b/hosts/nixos/rune/default.nix @@ -30,6 +30,7 @@ in ## Optional Configs ## "hosts/common/optional/audio.nix" # pipewire and cli controls + "hosts/common/optional/adb.nix" # android tools "hosts/common/optional/bluetooth.nix" "hosts/common/optional/ddcutil.nix" # ddcutil for monitor controls "hosts/common/optional/gaming.nix" # steam, gamescope, gamemode, and related hardware diff --git a/hosts/users/default.nix b/hosts/users/default.nix index 377effc..9f77ef1 100644 --- a/hosts/users/default.nix +++ b/hosts/users/default.nix @@ -30,11 +30,15 @@ in group = "ryot"; extraGroups = lib.flatten [ "wheel" + # Some of these groups are defined elsewhere in the system + # But honestly not sure what runs first so just add them here i guess (ifTheyExist [ + "adbusers" "audio" "docker" "gamemode" "git" + "libvirtd" "networkmanager" "video" ])