From f5b7687d26c48f35c46f3a497c7145dcb06ddfc0 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sat, 1 May 2021 19:43:55 -0400 Subject: [PATCH] profiles/all-hardware.nix: Share some config for all ARM --- nixos/modules/profiles/all-hardware.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 7b305319e84..c185acc5a0f 100644 --- a/nixos/modules/profiles/all-hardware.nix +++ b/nixos/modules/profiles/all-hardware.nix @@ -51,7 +51,7 @@ in # Hyper-V support. "hv_storvsc" - ] ++ lib.optionals pkgs.stdenv.isAarch64 [ + ] ++ lib.optionals (pkgs.stdenv.isAarch32 || pkgs.stdenv.isAarch64) [ # Most of the following falls into two categories: # - early KMS / early display # - early storage (e.g. USB) support @@ -67,6 +67,10 @@ in # PWM for the backlight "pwm-sun4i" + ] ++ lib.optionals pkgs.stdenv.isAarch64 [ + # Most of the following falls into two categories: + # - early KMS / early display + # - early storage (e.g. USB) support # Broadcom