system: fix the system setting for nixpkgs

90cb787644

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
This commit is contained in:
Brian McGillion
2025-11-05 13:20:53 +04:00
parent 2e85ae1b70
commit eea20ba3b0
7 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
...
}:
{
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/ucm-imx95-linux.nix { });

View File

@@ -36,7 +36,7 @@ in
nixpkgs.overlays = [ (import ./overlay.nix) ];
nixpkgs.hostPlatform = "armv7l-linux";
nixpkgs.hostPlatform.system = "armv7l-linux";
boot.initrd.availableKernelModules = [ "ahci_mvebu" ];

View File

@@ -1,6 +1,6 @@
{ pkgs, lib, ... }:
{
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });

View File

@@ -4,7 +4,7 @@
...
}:
{
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/imx8mp-linux.nix { });

View File

@@ -4,7 +4,7 @@
...
}:
{
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/imx8mq-linux.nix { });

View File

@@ -4,7 +4,7 @@
...
}:
{
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/imx93-linux.nix { });

View File

@@ -24,7 +24,7 @@
};
};
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
nixpkgs.hostPlatform.system = lib.mkDefault "aarch64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}