Use pkgs.stdenv.hostPlatform.system instead of config.system for binfmt condition
This commit is contained in:
parent
7df7f67e0e
commit
fbddebf00e
3 changed files with 3 additions and 3 deletions
|
|
@ -164,7 +164,7 @@ in {
|
|||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
binfmt.emulatedSystems = lib.optionals (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
binfmt.emulatedSystems = lib.optionals (pkgs.stdenv.hostPlatform.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
# kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelParams = ["consoleblank=60" "mem_sleep_default=deep"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue