mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
@@ -14,13 +14,17 @@
|
||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||
|
||||
# Fix for not detecting the M.2 NVMe SSD. Will cause recompilation.
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.10") (lib.mkDefault pkgs.linuxPackages_latest);
|
||||
boot.kernelPatches = lib.mkDefault [{
|
||||
name = "pcie-rockchip-config.patch";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
PHY_ROCKCHIP_PCIE y
|
||||
PCIE_ROCKCHIP_HOST y
|
||||
'';
|
||||
}];
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.10") (
|
||||
lib.mkDefault pkgs.linuxPackages_latest
|
||||
);
|
||||
boot.kernelPatches = lib.mkDefault [
|
||||
{
|
||||
name = "pcie-rockchip-config.patch";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
PHY_ROCKCHIP_PCIE y
|
||||
PCIE_ROCKCHIP_HOST y
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, ...
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user