feat: add adb on desktops
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
4bc6445a4c
commit
c6d7ffa4b6
3 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
10
modules/android.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (config.vars) mainUser;
|
||||||
|
in {
|
||||||
|
programs.adb.enable = true;
|
||||||
|
users.users.${mainUser}.extraGroups = ["adbusers"];
|
||||||
|
}
|
Loading…
Reference in a new issue