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:20:57 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-05-04 19:42:12 -0400
commit5bc36c1b3018b34a561e1257ce7b80fd506c6587 (patch)
tree813c3d48f0e095d72dd348a64b49254caa9d36b1 /nixos/modules/profiles/all-hardware.nix
parentc60de9291772c4186dda97da576039e6c7037b4d (diff)
downloadnixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar.gz
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar.bz2
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar.lz
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar.xz
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.tar.zst
nixpkgs-5bc36c1b3018b34a561e1257ce7b80fd506c6587.zip
profiles/all-hardware.nix: Add support for Allwinner hardware
Diffstat (limited to 'nixos/modules/profiles/all-hardware.nix')
-rw-r--r--nixos/modules/profiles/all-hardware.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix
index b2dd488908a..0af87fa621a 100644
--- a/nixos/modules/profiles/all-hardware.nix
+++ b/nixos/modules/profiles/all-hardware.nix
@@ -58,6 +58,15 @@ in
 
       # Allows using framebuffer configured by the initial boot firmware
       "simplefb"
+
+      # Allwinner support
+
+      # Required for early KMS
+      "sun4i-drm"
+      "sun8i-mixer" # Audio, but required for kms
+
+      # PWM for the backlight
+      "pwm-sun4i"
     ];
 
   # Include lots of firmware.