Add wantedBy to services

This commit is contained in:
Artturin 2024-11-20 23:39:52 +02:00
parent 1ae7313fad
commit 441f4dc464

View file

@ -98,9 +98,13 @@
];
kernelModules = [ "tenstorrent" ];
};
systemd.packages = [
(pkgs.tt-system-tools or self.packages.${pkgs.hostPlatform.system}.system-tools)
];
systemd = {
# https://github.com/NixOS/nixpkgs/issues/81138
services.tenstorrent-hugepages.wantedBy = [ "sysinit.target" ];
packages = [
(pkgs.tt-system-tools or self.packages.${pkgs.hostPlatform.system}.system-tools)
];
};
services.udev.packages = [
(pkgs.tt-udev-rules or self.packages.${pkgs.hostPlatform.system}.udev-rules)
];