feat(x86_64-linux): add IPU6 platform configuration

Introduce a new module, ipu.nix, enabling IPU6 platform support. This change aids in configuring specific hardware settings and includes the setup for future kernel package adjustments. The IPU6 module is prepared for integration but is currently commented out in the imports for further testing.
This commit is contained in:
Harald Hoyer 2024-11-28 12:08:24 +01:00
parent f806db9a11
commit 91a3e0c400
2 changed files with 20 additions and 1 deletions

View file

@ -2,7 +2,10 @@
with lib; with lib;
with lib.metacfg; with lib.metacfg;
{ {
imports = [ ./hardware-configuration.nix ]; imports = [
./hardware-configuration.nix
# ./ipu.nix
];
metacfg = { metacfg = {
base.enable = true; base.enable = true;

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
#boot.kernelPackages = lib.mkForce pkgs.linuxPackages_6_11;
hardware.ipu6 = {
platform = "ipu6ep";
enable = true;
};
}