diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 90fea1c..066ac5b 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -18,6 +18,10 @@ enableKwallet = true; }; + services.udev.packages = [ + pkgs.android-udev-rules + ]; + # Some programs look for session variables to store config files at # (Looking at you home-manager yazi) environment.sessionVariables = rec { diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index f46da90..e82ba65 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, user, ... }: { @@ -7,6 +7,9 @@ ./hardware-configuration.nix ]; + programs.adb.enable = true; + users.users.${user}.extraGroups = [ "adbusers" ]; + networking = { firewall = { checkReversePath = "loose"; diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 31de12b..3012887 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -1,10 +1,14 @@ -{ config, ... }: +{ config, user, ... }: -{ imports = [ +{ + imports = [ (import ./../../modules/xrdp.nix) ./hardware-configuration.nix ]; + programs.adb.enable = true; + users.users.${user}.extraGroups = [ "adbusers" ]; + hardware.bluetooth.enable = true; networking.hosts = {