diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-05-01 19:43:55 -0400 |
---|---|---|
committer | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-05-04 19:42:13 -0400 |
commit | f5b7687d26c48f35c46f3a497c7145dcb06ddfc0 (patch) | |
tree | 5aff01602a48b4de1c0d131ead9b7bb370828e3f /nixos | |
parent | 14ac6de0244049c7a4a3d0cfd400c6e6f5081ea9 (diff) | |
download | nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar.gz nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar.bz2 nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar.lz nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar.xz nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.tar.zst nixlib-f5b7687d26c48f35c46f3a497c7145dcb06ddfc0.zip |
profiles/all-hardware.nix: Share some config for all ARM
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/profiles/all-hardware.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 7b305319e841..c185acc5a0fc 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 |