Use system-tools
This commit is contained in:
parent
31b3aa6fdc
commit
be924e4600
|
@ -94,14 +94,13 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
# TODO: Use the scripts instead https://github.com/tenstorrent/tt-system-tools they work regardless of how many devices there are
|
|
||||||
# https://github.com/tenstorrent/tt-system-tools/blob/main/hugepages-setup.sh#L31
|
|
||||||
"hugepagesz=1G"
|
|
||||||
"hugepages=4"
|
|
||||||
"iommu=pt"
|
"iommu=pt"
|
||||||
];
|
];
|
||||||
kernelModules = [ "tenstorrent" ];
|
kernelModules = [ "tenstorrent" ];
|
||||||
};
|
};
|
||||||
|
systemd.packages = [
|
||||||
|
(pkgs.tt-system-tools or self.packages.${pkgs.hostPlatform.system}.system-tools)
|
||||||
|
];
|
||||||
services.udev.packages = [
|
services.udev.packages = [
|
||||||
(pkgs.tt-udev-rules or self.packages.${pkgs.hostPlatform.system}.udev-rules)
|
(pkgs.tt-udev-rules or self.packages.${pkgs.hostPlatform.system}.udev-rules)
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue