feat: add adb on desktops
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-14 14:26:59 -04:00
parent 4bc6445a4c
commit c6d7ffa4b6
3 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,7 @@ in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/android.nix
../../modules/ags ../../modules/ags
../../modules/audio.nix ../../modules/audio.nix
../../modules/hyprland ../../modules/hyprland

View file

@ -4,6 +4,7 @@ in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/android.nix
../../modules/ags ../../modules/ags
../../modules/audio.nix ../../modules/audio.nix
../../modules/hyprland ../../modules/hyprland

10
modules/android.nix Normal file
View file

@ -0,0 +1,10 @@
{
config,
pkgs,
...
}: let
inherit (config.vars) mainUser;
in {
programs.adb.enable = true;
users.users.${mainUser}.extraGroups = ["adbusers"];
}