summary refs log tree commit diff
path: root/nixos/modules/profiles/all-hardware.nix
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-04-19 16:22:11 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-05-04 19:42:12 -0400
commita846d198316d9522b7456f4b54779df1cd4f13a5 (patch)
tree33e1de8c529f005193b87954c1358da385b74c5d /nixos/modules/profiles/all-hardware.nix
parenta8af02fe6d1d7f187fca0b54159eb8eeb87dbfc4 (diff)
downloadnixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar.gz
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar.bz2
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar.lz
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar.xz
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.tar.zst
nixpkgs-a846d198316d9522b7456f4b54779df1cd4f13a5.zip
profiles/all-hardware.nix: Add power regulator modules
This is used on some allwinner platforms, and is a weak dependency for
USB to work.
Diffstat (limited to 'nixos/modules/profiles/all-hardware.nix')
-rw-r--r--nixos/modules/profiles/all-hardware.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix
index 78557797ebc..e3ec50f9e78 100644
--- a/nixos/modules/profiles/all-hardware.nix
+++ b/nixos/modules/profiles/all-hardware.nix
@@ -74,6 +74,11 @@ in
       "panel-simple"
       "pwm-bl"
 
+      # Power supply drivers, some platforms need them for USB
+      "axp20x-ac-power"
+      "axp20x-battery"
+      "pinctrl-axp209"
+
       # Misc "weak" dependencies
       "analogix-anx6345" # For DP or eDP (e.g. integrated display)
     ];