mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
fix aarch64 build
This commit is contained in:
@@ -13,6 +13,7 @@ inputs:
|
||||
swap = [ "/nix/swap/swap" ];
|
||||
};
|
||||
network = {};
|
||||
grub = null;
|
||||
};
|
||||
services =
|
||||
{
|
||||
|
||||
@@ -83,5 +83,11 @@ inputs:
|
||||
};
|
||||
}
|
||||
])
|
||||
({});
|
||||
({
|
||||
boot.loader =
|
||||
{
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
@@ -39,7 +39,11 @@ inputs:
|
||||
"bridge"
|
||||
]
|
||||
++ (inputs.lib.optionals (kernel.variant != "nixos") [ "crypto_simd" ]);
|
||||
extraModulePackages = with inputs.config.boot.kernelPackages; [ v4l2loopback zenpower ];
|
||||
extraModulePackages = with inputs.config.boot.kernelPackages;
|
||||
[
|
||||
v4l2loopback
|
||||
(if inputs.pkgs.stdenv.hostPlatform.linuxArch == "x86_64" then zenpower else inputs.pkgs.emptyDirectory)
|
||||
];
|
||||
# force i2c-hid-acpi to load after pinctrl-tigerlake
|
||||
extraModprobeConfig = "softdep i2c-hid-acpi pre: pinctrl-tigerlake";
|
||||
kernelParams = [ "delayacct" ];
|
||||
|
||||
Reference in New Issue
Block a user